delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/11:58:53

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
Message-ID: <000501c07cb8$52146970$2397a281@marisa.space.swri.edu>
From: "Joey Mukherjee" <joey AT swri DOT org>
To: <cygwin AT sources DOT redhat DOT com>
Subject: Problem with F:/ and /cygdrive/f/
Date: Fri, 12 Jan 2001 10:54:24 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

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


--
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