Bruce Momjian schrieb:
The following applied patch removes duplicate slashes from the path in
canonicalize_path().  It preserve double leading slashes on Win32.

e.g. ////a////b => /a/b
snip
   *            o  make Win32 path use Unix slashes
   *            o  remove trailing quote on Win32
   *            o  remove trailing slash
   *            o  remove trailing '.'
   *            o  process trailing '..' ourselves

At the first glance I thought this will break Win95 (via cygwin), but it really is ok, 'cause all the paths go through cygwin.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
     subscribe-nomail command to [EMAIL PROTECTED] so that your
     message can get through to the mailing list cleanly

Reply via email to