delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/29/03:28:33

X-Spam-Check-By: sourceware.org
Message-ID: <4658FFCF.2030401@pacific.net.sg>
Date: Sun, 27 May 2007 07:49:35 +0400
From: Erich Dollansky <oceanare AT pacific DOT net DOT sg>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: problem with drive letters when running from DOS box
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I noticed a strange problem. I tried to run 'cmp' from a DOS box but it 
could not find the file.

cmp d:\Data\file1 e:file2

did simply not see file2 even if I started cmp from e:.

As I was off-line when I needed cmp, I wrote my own cmp to compare the 
files.

What surprise. The same effect.

I investigated further just to find out that fopen does not find files 
if they do not contain '\' after the drive letter.

In the test case, E: does not contain any directories which might 
confuse fopen.

I updated cygwin last week.

cygwin1.dll is dated 31.01.2007.

Both programs work as expected when started from bash.

Erich


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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