OSDN Git Service

wordexp: fix mishandled return value of pipe call
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 12 May 2011 10:11:14 +0000 (12:11 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 12 May 2011 10:11:14 +0000 (12:11 +0200)
commitf6e44ebb529508cbc6ae5ef6a24614b85ad0f16f
tree1423fc8b674f9a4dd110ce1b9293656708dc242d
parent44100dac1138c480deabb72ee8e180544005dfd9
wordexp: fix mishandled return value of pipe call

and use pipe2 if available while at it.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/misc/wordexp/wordexp.c