Add remove duplicate slashes to canonicalize_path()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Add remove duplicate slashes to canonicalize_path()
Date: 2004-11-07 02:11:41
Message-ID: 200411070211.iA72BfT12921@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 2.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-11-07 02:24:28 Re: Add remove duplicate slashes to canonicalize_path()
Previous Message Alvaro Herrera 2004-11-07 00:33:02 src/include/Makefile: remove-old-headers