summaryrefslogtreecommitdiff
path: root/libc/inet/socketcalls.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-11 11:55:44 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-11 11:55:44 +0000
commite26a5970cadb10b06977ddb5928c36d8b1be1367 (patch)
treebc3c5571885f40c5da4a01560f2b1169367e662f /libc/inet/socketcalls.c
parent417197ca7ced6f14701137a989dfe0e88edeb6e9 (diff)
A patch from Ted Phelps to fix popen(). Ted writes:
There is a minor bug in the implementation of popen(). In the case where the file descriptor returned from its call to pipe() is the same as the file descriptor that it is meant to be (where the dup2() branch is not taken), the end of the pipe is still closed by close(reading) even though it shouldn't be. Thanks Ted!
Diffstat (limited to 'libc/inet/socketcalls.c')
0 files changed, 0 insertions, 0 deletions