Date: Thu, 30 Jan 2003 22:10:47 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <1659-Thu30Jan2003221046+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3E38F9A7.B68B2265@phekda.freeserve.co.uk> (message from Richard Dawe on Thu, 30 Jan 2003 10:08:39 +0000) Subject: Re: symlinks: another failing test case - c://dev/env/DJDIR/... References: <3E386ABA DOT 1010507 AT mif DOT vu DOT lt> <3E38F9A7 DOT B68B2265 AT phekda DOT freeserve DOT co DOT uk> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 30 Jan 2003 10:08:39 +0000 > From: Richard Dawe > > NB: \\dev\env\DJDIR is a UNC and should be treated differently than > //dev/env/DJDIR. You can't collapse the first two backward-slashes in a UNC. > But c:\\dev\env\DJDIR is not a UNC and you can collapse the first two-backward > slashes. Do we really collapse consecutive backslashes? I thought we only did that for forward slashes. Anyway, be careful with c:\\foo\bar\baz: it _could_ stil be a UNC that somehow got prepended the drive letter (by some code that doesn't know about UNCs). You can easily see that Windows treats such names as UNCs: if you type at the DOS prompt some command that includes such a file name, you will see network activity and a significant delay if the share by the name \\foo\bar does not exist.