This is the mail archive of the cygwin@sourceware.cygnus.com
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.
- To: "Michael V. Nikolaev" <mvn@gu.kiev.ua>, cygwin users <cygwin@sourceware.cygnus.com>
- Subject: Re: [bug] Crazy I/O.
- From: Earnie Boyd <earnie_boyd@yahoo.com>
- Date: Mon, 8 Mar 1999 11:46:27 -0800 (PST)
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Reply-To: earnie_boyd@yahoo.com
- Sender: cygwin-owner@sourceware.cygnus.com
---"Michael V. Nikolaev" <mvn@gu.kiev.ua> wrote:
>
>
> -----Original Message-----
> From: Earnie Boyd <earnie_boyd@yahoo.com>
> To: cygwin users <cygwin@sourceware.cygnus.com>
> 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.
==
- \\||//
-------------------o0O0--Earnie--0O0o-------------------
-- earnie_boyd@yahoo.com --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com