mirror of git://sourceware.org/git/glibc.git
Update.
1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu> * manual/process.texi (SIGCHLD example): Save errno. Patch by Christian Gafton.
This commit is contained in:
parent
30baa360c5
commit
f9d6455b71
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
1998-04-09 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* posix/regex.c: Define regerror really as __regerror.
|
* posix/regex.c: Define regerror really as __regerror.
|
||||||
|
@ -13,6 +17,7 @@
|
||||||
* sysdeps/i386/i486/bits/string.h: Remove unused variables.
|
* sysdeps/i386/i486/bits/string.h: Remove unused variables.
|
||||||
|
|
||||||
* misc/syslog.c (closelog_internal): Set LogTag to NULL.
|
* misc/syslog.c (closelog_internal): Set LogTag to NULL.
|
||||||
|
Patch by Christian Gafton.
|
||||||
|
|
||||||
1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
|
1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
|
|
@ -608,8 +608,8 @@ indicates that at least one child process has terminated.
|
||||||
void
|
void
|
||||||
sigchld_handler (int signum)
|
sigchld_handler (int signum)
|
||||||
@{
|
@{
|
||||||
int pid;
|
int pid, status, serrno;
|
||||||
int status;
|
serrno = errno;
|
||||||
while (1)
|
while (1)
|
||||||
@{
|
@{
|
||||||
pid = waitpid (WAIT_ANY, &status, WNOHANG);
|
pid = waitpid (WAIT_ANY, &status, WNOHANG);
|
||||||
|
@ -622,6 +622,7 @@ sigchld_handler (int signum)
|
||||||
break;
|
break;
|
||||||
notice_termination (pid, status);
|
notice_termination (pid, status);
|
||||||
@}
|
@}
|
||||||
|
errno = serrno;
|
||||||
@}
|
@}
|
||||||
@end group
|
@end group
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
Loading…
Reference in New Issue