[uClibc-cvs] cvs commit to uClibc/libc/stdio by andersen

andersen at codepoet.org andersen at codepoet.org
Tue Jun 11 11:55:45 UTC 2002


Repository: uClibc/libc/stdio
who:        andersen
time:       Tue Jun 11 05:55:45 MDT 2002


Log Message:

A patch from Ted Phelps to fix popen().  Ted writes:
    There is a minor bug in the implementation of popen().  In the case
    where the file descriptor returned from its call to pipe() is the same
    as the file descriptor that it is meant to be (where the dup2() branch
    is not taken), the end of the pipe is still closed by close(reading)
    even though it shouldn't be.
Thanks Ted!


Files:

changed:    popen.c




More information about the uClibc-cvs mailing list