Menu

#37 Fix signal handler

open-fixed
None
5
2011-11-27
2007-02-05
No

The function "printf()" 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

The corresponding calls should be deleted from your functions "sigchld_handler" and "sigquit_handler".
http://gqlplus.cvs.sourceforge.net/gqlplus/gqlplus/gqlplus.c?revision=1.9&view=markup

Discussion

  • Jess Portnoy

    Jess Portnoy - 2011-11-27
    • status: open --> open-fixed
     
  • Jess Portnoy

    Jess Portnoy - 2011-11-27

    Thanks for reporting.
    Fixed and will be included in the next release.

    May the source be with you,

    Jess

     
  • Jess Portnoy

    Jess Portnoy - 2011-11-27
    • assigned_to: nobody --> jessrpm
     

Log in to post a comment.

Monday.com Logo