On Fri, Jun 02, 2006 at 12:53:56PM -0300, Salvador Eduardo Tropea wrote:
> On 02/06/06 12:39, Colin Watson wrote:
> >The poor error reporting is largely the fault of the C library. See the
> >daemon(3) man page.
>
> Are you sure? I din't check the code, but looks like poor error checking
> in the code.
> Do you mean that libc is opening /dev/null by itself?
Yes. Like I say, see the daemon(3) man page.
NOTES
The glibc implementation can also return -1 when /dev/null
exists but is not a character device with the expected major
and minor numbers. In this case errno need not be set.
--
Colin Watson [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]