Mail Archives: cygwin-developers/1998/11/14/19:21:17
On Sun, Nov 15, 1998 at 03:57:52AM +0100, Corinna Vinschen wrote:
>your patch fixes the problem, indeed. Thank you.
>
>Would you be so kind, to explain, _why_ first_fd_for_open is
>initialized to 3? Because I saw no problem, when I initialized
>it to 0 (anything works fine!), I haven't understand it's sense.
It is initialized to 3 so that opens (like the open of utmp, for
instance) that occur prior to stdin/stdout/stderr being established do
not become stdin/stdout/stderr.
cgf
- Raw text -