delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/12:40:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A5F3FE5.FF805015@yahoo.com>
Date: Fri, 12 Jan 2001 12:33:25 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Cygwin <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
CC: Joey Mukherjee <joey AT swri DOT org>, Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Problem with F:/ and /cygdrive/f/
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010112115951 DOT 0223dc80 AT pop DOT ma DOT ultranet DOT com>

"Larry Hall (RFK Partners, Inc)" wrote:
> 
> At 11:54 AM 1/12/2001, Joey Mukherjee wrote:
> >I have a program which works perfectly when I tell it to read from a file at
> >/cygdrive/f/ .  However, when I set the directory to F:/, the program no
> >longer works.
> >
> >The program is a simple dumper for one of our data files and it takes the
> >name of the data file on the command line.  Now, when debugging everything
> >looks fine.  The open succeeds, but the read starts reading garbage after
> >the first read.
> >
> >This seemed really odd to me since I would figure the open would take care
> >of any filename conversions.
> >
> >Thanks for any insight on what my problem might be...
> >
> >Joey
> 
> The output of cygcheck -s -r -v and a test case showing the problem would be
> helpful.
> 

Not for this Larry.

FAQ ALERT!!

If you access a file via it's drive letter name, it will open it in text
mode by default.  Chris, will adding binmode to CYGWIN help in this
case?

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019