On Monday 16 January 2012 04:54:52 Richard Braun wrote: > --- a/libc/stdlib/system.c > +++ b/libc/stdlib/system.c > > + sa.sa_handler = SIG_IGN; > + sigemptyset(&sa.sa_mask); > + sa.sa_flags = 0;
this leaves the other fields of sigaction uninitialized. i think we need:
if (command == 0)
return 1;
+ memset(&sa, 0, sizeof(sa));
sa.sa_handler = SIG_IGN;
sigemptyset(&sa.sa_mask);
- sa.sa_flags = 0;
sigaction(SIGQUIT, &sa, &save_quit);
sigaction(SIGINT, &sa, &save_int);
sigaddset(&sa.sa_mask, SIGCHLD);
otherwise, if people don't have any feedback on things, i'll push the latest
version
-mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
