diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-04-06 10:56:26 -0700 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-04-14 09:16:54 -0700 |
commit | 00515ea3a15703a3d196c1d1bd372214abc990ad (patch) | |
tree | 5d4e91909a302c65b58d0bf058915d6d5fd611db /include/unistd.h | |
parent | 2102bec9829589b303d531ed12630808b4886f56 (diff) | |
download | glibc-00515ea3a15703a3d196c1d1bd372214abc990ad.tar.gz glibc-00515ea3a15703a3d196c1d1bd372214abc990ad.tar.xz glibc-00515ea3a15703a3d196c1d1bd372214abc990ad.zip |
linux: wait4: Fix incorrect return value comparison
Patch 600f00b "linux: Use long time_t for wait4/getrusage" introduced two bugs: - The usage32 struct was set if the wait4 syscall had an error. - For 32-bit systems the usage struct was set even if it was specified as NULL. This patch fixes the two issues.
Diffstat (limited to 'include/unistd.h')
0 files changed, 0 insertions, 0 deletions