Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3F55000F.5B1A6D33@phekda.freeserve.co.uk> Date: Tue, 02 Sep 2003 21:39:43 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Don't break UNCs in __canonicalize_path [PATCH] References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Richard Dawe wrote: > > Hello. > > Below is a patch to stop __canonicalize_path from breaking UNCs. > NB: _fixpath is just a wrapper for __canonicalize_path. > > There's also a test program. It could probably do with more test cases. > Suggestions welcome. Note that the /dev/c fails - see my other mail > about what /dev/c should expand to. > > OK to commit, when the /dev/c issue has been resolved? [snip] This patch is bogus. The UNC should be kept as c:\\machine/share, not converted to c://machine/share. I'll send a proper fix, when I've worked one out. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]