[Patch]: 3 or more initial slashes

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Tue Apr 20 18:45:00 GMT 2004


On Tue, Apr 20, 2004 at 01:38:01PM -0400, Pierre A. Humblet wrote:
>POSIX specifies that three ore more slashes at the beginning
>of a pathname are equivalent to a single one.
>This patch implements that feature. 
>Only Posix paths are affected, Windows paths are left alone. 
>Also, Posix paths are never handled by normalize_win32_path
>anymore.
>
>2004-04-20  Pierre Humblet <pierre.humblet@ieee.org>
>
>	* path.cc (normalize_posix_path): Process all Posix paths and
>	map three or more initial slashes to a single one. Simplify
>	processing following two initial slashes. 
>	(normalize_win32_path): Make last argument non-optional and
>	do not check for NULL value.

Applied.

Thanks.
cgf



More information about the Cygwin-patches mailing list