OSDN Git Service

If the wait failed in pclose it would return a random status code
authorDavid McCullough <davidm@snapgear.com>
Sun, 1 Dec 2002 23:32:17 +0000 (23:32 -0000)
committerDavid McCullough <davidm@snapgear.com>
Sun, 1 Dec 2002 23:32:17 +0000 (23:32 -0000)
commitbf10e6efd441bcd261c325323dda0957d529abf5
tree704c29a4b9292871145c1ec2deb1c4839da44b1c
parent2e08b7b87e47d9a430c1de47f684ec7c1d410c4f
If the wait failed in pclose it would return a random status code
instead of -1 as expected.
libc/stdio/popen.c