* path.cc (normalize_posix_path): Don't treat '//' specially since newer
versions of bash now get this right.
This commit is contained in:
@ -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++ = '/';
|
||||
|
Reference in New Issue
Block a user