popen: handle issues with fd0/1 being closed
authorRich Felker <dalias@aerifal.cx>
Wed, 20 Jun 2012 18:32:48 +0000 (14:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 20 Jun 2012 18:32:48 +0000 (14:32 -0400)
also check for failure of dup2 and abort the child rather than
reading/writing the wrong file.


No differences found