[ruby-cvs:62052] normal:r54890 (trunk): process.c (disable_child_handler_fork_child): initialize handler for SIGPIPE

normal at ruby-lang.org normal at ruby-lang.org
Tue May 3 06:04:17 JST 2016


normal	2016-05-03 06:04:17 +0900 (Tue, 03 May 2016)

  New Revision: 54890

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54890

  Log:
    process.c (disable_child_handler_fork_child): initialize handler for SIGPIPE
    
    This only happens on the !POSIX_SIGNAL case; but one may
    test with the following:
    
        --- a/process.c
        +++ b/process.c
        @@ -3479,6 +3479,7 @@ disable_child_handler_fork_parent(struct child_handler_disabler_state *old)
         #endif
         }
    
        +#undef POSIX_SIGNAL
         /* This function should be async-signal-safe.  Actually it is. */
         static int
         disable_child_handler_fork_child(struct child_handler_disabler_state *old, char *errmsg, size_t errmsg_buflen)

  Modified files:
    trunk/ChangeLog
    trunk/process.c


More information about the ruby-cvs mailing list