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]
[bug] Crazy I/O.
- To: cygwin users <cygwin@sourceware.cygnus.com>
- Subject: [bug] Crazy I/O.
- From: Earnie Boyd <earnie_boyd@yahoo.com>
- Date: Mon, 8 Mar 1999 08:44:40 -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
This bug has to do with getting back to the beginning of a file. I was trying to test what happens with O_TEXT and O_BINARY based upon the CYGWIN variable and the [no]binmode value. I'm using the 1998-12-3 release of the cygwin1.dll on NT4SP3. I haven't tested with a recent snapshot but the list needs to know about this for the distributed version.
I've included a test case. You must save the file as text.tst.c, gcc -o text text.tst.c, and have your working directory set to the source code.
==
- \\||//
-------------------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
text.tst.c
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com