This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10511] popen() returns fp on non existing file


------- Additional Comments From ebb9 at byu dot net  2010-02-22 23:16 -------
Actually, POSIX is quite clear that popen succeeds if it opens a pipe to the
shell that runs the command, regardless of whether that shell then immediately
exits because it was asked to execute a command that does not exist.  The only
bug here is that you did not check the status returned from pclose() to detect
the failure to launch a child successfully.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=10511

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]