Subject: Re: Warning message: Why do I care?
To: Roland Dowdeswell <>
From: Steven M. Bellovin <>
List: current-users
Date: 08/01/2002 14:18:20
In message <>, Roland Dowdeswell wri
>On 1028224954 seconds since the Beginning of the UNIX epoch
>"Steven M. Bellovin" wrote:
>>In message <>, writes:
>>>  close(1);
>>>  fd = open("somefile", O_WRONLY);
>>You could use dup2().  But I suspect there's a lot of code around that 
>>does it your way.
>The problem is that the relevant standards dictate that method does
>work in that way, and so programs that rely on that behaviour are
>not doing anything wrong.

Yes, I agree.

		--Steve Bellovin, (me) ("Firewalls" book)