From 3f6494e216ea635c65c8ee2b35ccda6795f4b605 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 7 May 2005 21:06:08 +0000 Subject: * path.cc (normalize_posix_path): Don't treat '//' specially since newer versions of bash now get this right. --- winsup/cygwin/path.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/path.cc') diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 2b64989ae..49aeea4b3 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -235,7 +235,7 @@ normalize_posix_path (const char *src, char *dst, char *&tail) *tail++ = '/'; } /* Two leading /'s? If so, preserve them. */ - else if (isslash (src[1]) && src[2] && !isslash (src[2])) + else if (isslash (src[1]) && !isslash (src[2])) { *tail++ = '/'; *tail++ = '/'; -- cgit v1.2.3