O_CLOEXEC was confusing the O_RDONLY test in loopfiles(), resulting in attempts to...
authorRob Landley <rob@landley.net>
Mon, 27 Oct 2014 23:08:59 +0000 (18:08 -0500)
committerRob Landley <rob@landley.net>
Mon, 27 Oct 2014 23:08:59 +0000 (18:08 -0500)
commit45b3882a1187f0e957efbc4fc5d797ba9603f545
tree37552d7877acf6ca5c803d7520026d262855fb21
parentd4bae7ddb771d32d35cc953a3fedbcc622820dbe
O_CLOEXEC was confusing the O_RDONLY test in loopfiles(), resulting in attempts to read from stdout instead of stdin for "-" or no arguments.
lib/lib.c