summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorAlexey Izbyshev <izbyshev@ispras.ru>2023-03-06 11:59:21 +0300
committerRich Felker <dalias@aerifal.cx>2023-04-11 09:23:44 -0400
commitc1b42c4a3a0324ec25877980f59db233fa420925 (patch)
tree85fb1a9f254a6b8d98329135e2f60ea1bda1f729 /include/wchar.h
parent9b12982d52c5bc5b0158c07dfdbd5485f3a773a0 (diff)
downloadmusl-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 'include/wchar.h')
0 files changed, 0 insertions, 0 deletions