Subject: Re: Warning message: Why do I care?
To: Steven M. Bellovin <email@example.com>
From: Roland Dowdeswell <firstname.lastname@example.org>
Date: 08/01/2002 14:15:37
On 1028224954 seconds since the Beginning of the UNIX epoch
"Steven M. Bellovin" wrote:
>In message <20020801135402.K2158@styx.org>, email@example.com writes:
>> 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.
Roland Dowdeswell http://www.Imrryr.ORG/~elric/