delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/27/13:11:47

From: IBEC23 AT cc DOT uab DOT es
Date: Wed, 27 Aug 1997 19:10:30 +0000
Subject: How coould I know if two files are the same?
To: djgpp AT delorie DOT com
Message-id: <01IMY1B3EI4I00G6WZ@cc.uab.es>
Organization: Universitat Autonoma de Barcelona
MIME-version: 1.0

Hello,

When a network disk drive X:\ is the same as M:\FOLDER,
my program "believes" that
  X:\FILENAME.TXT
is different from
  M:\FOLDER\FILENAME.TXT
but it is the same file.

(X: and M: are two units mapped on some other computer
on my local net, but they are really in the same physical
hard disk. For example the remote server shares its C:\ and
I connect to it as M:, and also shares its C:\FOLDER and
I connect to it as X: so both M:\FOLDER and X:\ point to the
same directory)

Under Windows 95 it is also possible to have
  M:\FOLDER\FILENAME.TXT
and
  \\SERVER\M\FOLDER\FILENAME.TXT
again two different names but the same file.

This is fatal for some applications.

Is there some way to detect it using DJGPP?

Thanks in advance!

Xavier Pons

- Raw text -


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