This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem with drive letters when running from DOS box


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]