[Bug 14789] New: Fix signal handler

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 7 11:00:20 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14789

           Summary: Fix signal handler
           Product: Wine
           Version: CVS/GIT
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: Markus.Elfring at web.de


The function "fprintf()" does not belong to the list of async-signal-safe
functions.
See section "2.4.3 Signal Actions" from the document "2.4 Signal Concepts".
http://opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html#tag_02_04_03

I guess that a different program design will be needed for your function
"do_sigsegv".


I recommend to change the data type for the variable "watchdog" to
"sig_atomic_t".

http://source.winehq.org/git/wine.git?a=blob;f=server/signal.c;h=5e4fe33c6a3126bcd79d3fa16693560cc2c43290;hb=HEAD


-- 
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