fix fd leak and case where fd 1 is already closed in wordexp
authorRich Felker <dalias@aerifal.cx>
Fri, 22 Nov 2013 20:55:58 +0000 (15:55 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 22 Nov 2013 20:55:58 +0000 (15:55 -0500)
commitcaaf7d443d8f502a209cb5489c45ddcccbebdd34
treed7de17f17dc4dbf58f39f953f909787ce7608dbf
parent8253f59eae7bdb8b5a0f5b87212671564882d1f0
fix fd leak and case where fd 1 is already closed in wordexp
src/misc/wordexp.c