http://bugs.winehq.org/show_bug.cgi?id=14789
Markus Elfring Markus.Elfring@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|WONTFIX |
--- Comment #6 from Markus Elfring Markus.Elfring@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 )