diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2023-03-06 11:59:21 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-04-11 09:23:44 -0400 |
commit | c1b42c4a3a0324ec25877980f59db233fa420925 (patch) | |
tree | 85fb1a9f254a6b8d98329135e2f60ea1bda1f729 /src/stdio/open_memstream.c | |
parent | 9b12982d52c5bc5b0158c07dfdbd5485f3a773a0 (diff) | |
download | musl-c1b42c4a3a0324ec25877980f59db233fa420925.tar.gz |
wait4: fix missing rusage on x32 due to wrong success condition
Resource usage data is filled by the kernel only when wait4 returns
a pid, i.e. a positive value.
Commit 5850546e9669f793aab61dfc7c4f2c1ff35c4b29 introduced this bug,
possibly because of copy-pasting from getrusage.
Diffstat (limited to 'src/stdio/open_memstream.c')
0 files changed, 0 insertions, 0 deletions