This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: [bug] Crazy I/O.

---"Michael V. Nikolaev" <> wrote:
> -----Original Message-----
> From: Earnie Boyd <>
> To: cygwin users <>
> Date: 8 березня 1999 р. 18:46
> Subject: [bug] Crazy I/O.
> Hi!
> You use stdin as a _stream_ when calling gets(). So, try to call
fseek(stdin, 0L, SEEK_SET) after the second dup2(). It should work.

Didn't help.  Besides, it shouldn't be needed.
-                        \\||//
--                     --
-- --

PS: Newbie's, you should visit my page.
Get your free address at

Want to unsubscribe from this list?
Send a message to