1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
* manual/process.texi (SIGCHLD example): Save errno.
Patch by Christian Gafton.
+1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
+
+ * manual/process.texi (SIGCHLD example): Save errno.
+
1998-04-09 Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c: Define regerror really as __regerror.
* sysdeps/i386/i486/bits/string.h: Remove unused variables.
* misc/syslog.c (closelog_internal): Set LogTag to NULL.
+ Patch by Christian Gafton.
1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
void
sigchld_handler (int signum)
@{
- int pid;
- int status;
+ int pid, status, serrno;
+ serrno = errno;
while (1)
@{
pid = waitpid (WAIT_ANY, &status, WNOHANG);
break;
notice_termination (pid, status);
@}
+ errno = serrno;
@}
@end group
@end smallexample