delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <19990308194627.22867.rocketmail@send102.yahoomail.com> |
Date: | Mon, 8 Mar 1999 11:46:27 -0800 (PST) |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Reply-To: | earnie_boyd AT yahoo DOT com |
Subject: | Re: [bug] Crazy I/O. |
To: | "Michael V. Nikolaev" <mvn AT gu DOT kiev DOT ua>, |
cygwin users <cygwin AT sourceware DOT cygnus DOT com> | |
MIME-Version: | 1.0 |
---"Michael V. Nikolaev" <mvn AT gu DOT kiev DOT ua> wrote: > > > -----Original Message----- > From: Earnie Boyd <earnie_boyd AT yahoo DOT com> > To: cygwin users <cygwin AT sourceware DOT cygnus DOT 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 AT yahoo DOT 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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |