From c2bf83aff4162d6a7cd191600640080e51090149 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 13 Jul 2001 21:46:48 +0000 Subject: [PATCH] * util_nt.c (canonicalize_pathname): Don't handle PATH_SEP after backslash in a special way. * util_os2.c (canonicalize_pathname): Likewise (was already commented out). --- pc/ChangeLog | 7 +++++++ pc/util_nt.c | 4 ---- pc/util_os2.c | 4 ---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pc/ChangeLog b/pc/ChangeLog index d41349c1c..4c28cc1fc 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,10 @@ +2001-07-13 Pavel Roskin + + * util_nt.c (canonicalize_pathname): Don't handle PATH_SEP + after backslash in a special way. + * util_os2.c (canonicalize_pathname): Likewise (was already + commented out). + 2001-06-26 Pavel Roskin * dirent_nt.c: Include . diff --git a/pc/util_nt.c b/pc/util_nt.c index 37b7fa0f8..f1a9a8ce7 100644 --- a/pc/util_nt.c +++ b/pc/util_nt.c @@ -241,10 +241,6 @@ char *canonicalize_pathname (char *path) i = start + 1; } - /* Handle backquoted `/'. */ - if (start > 0 && path[start - 1] == '\\') - continue; - /* Check for trailing `/'. */ if (start && !path[i]) { zero_last: diff --git a/pc/util_os2.c b/pc/util_os2.c index 16bb98ddb..378dc6c37 100644 --- a/pc/util_os2.c +++ b/pc/util_os2.c @@ -427,10 +427,6 @@ canonicalize_pathname (char *path) i = start + 1; } - /* Handle backquoted BACKSLASH. */ -/* if (start > 0 && path[start - 1] == '\\') - continue; */ - /* Check for trailing BACKSLASH. */ if (start && !path[i]) { zero_last: