[Bug 14789] Fix signal handler
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Aug 8 02:04:45 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=14789
Markus Elfring <Markus.Elfring at web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |UNCONFIRMED
Resolution|WONTFIX |
--- Comment #6 from Markus Elfring <Markus.Elfring at web.de> 2008-08-08 02:04:45 ---
A printf() function call might result in a deadlock during signal handling.
Would you like to use the function "write()" instead?
http://opengroup.org/onlinepubs/009695399/functions/write.html
Are you going to integrate the following update suggestion for improved source
code portability?
diff --git a/server/signal.c b/server/signal.c
index 5e4fe33..dfdfa9b 100644
--- a/server/signal.c
+++ b/server/signal.c
@@ -99,7 +99,7 @@ static struct handler *handler_sigint;
static struct handler *handler_sigchld;
static struct handler *handler_sigio;
-static int watchdog;
+static sig_atomic_t watchdog;
/* create a signal handler */
static struct handler *create_handler( signal_callback callback )
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list