[Bug libc/23017] daemon(0,0) doesn't report meaningfull errno (not set) if redirect fails

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Thu Mar 29 15:19:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23017

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2018-03-29
     Ever confirmed|0                           |1

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
I cannot reproduce that, errno is explicitly set to ENODEV if /dev/null exists
but is not a char device.  Make sure that the caller does not lose errno.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list