guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] branch wip-mingw updated: squash! Add `scm_sigaction_for


From: Jan Nieuwenhuizen
Subject: [Guile-commits] branch wip-mingw updated: squash! Add `scm_sigaction_for_thread' stub for MinGW.
Date: Tue, 13 Apr 2021 09:10:27 -0400

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch wip-mingw
in repository guile.

The following commit(s) were added to refs/heads/wip-mingw by this push:
     new ed6d4c6  squash! Add `scm_sigaction_for_thread' stub for MinGW.
ed6d4c6 is described below

commit ed6d4c6f0efaac39268f2670892759feace876f0
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Apr 13 15:10:03 2021 +0200

    squash! Add `scm_sigaction_for_thread' stub for MinGW.
---
 libguile/scmsigs.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c
index e132dfc..7b17208 100644
--- a/libguile/scmsigs.c
+++ b/libguile/scmsigs.c
@@ -322,21 +322,15 @@ scm_sigaction (SCM signum, SCM handler, SCM flags)
 
 #if __MINGW32__
 
-int _mingw_debug_p ();
-
 SCM_DEFINE (scm_sigaction_for_thread, "sigaction", 1, 3, 0,
            (SCM signum, SCM handler, SCM flags, SCM thread),
             "sigaction stub")
 #define FUNC_NAME s_scm_sigaction_for_thread
 {
-  static int stub = 0;
   (void) signum;
   (void) handler;
   (void) flags;
   (void) thread;
-  if (_mingw_debug_p () && !stub)
-    fputs ("stub: sigaction", stderr);
-  stub = 1;
   return SCM_UNSPECIFIED;
 }
 #undef FUNC_NAME



reply via email to

[Prev in Thread] Current Thread [Next in Thread]