* path.cc (normalize_posix_path): Previous change failed to take root
access into account.
This commit is contained in:
parent
bf921462e7
commit
db64ab89f0
@ -1,6 +1,11 @@
|
||||
Thu Apr 20 16:39:18 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* path.cc (normalize_posix_path): Previous change failed to take root
|
||||
access into account.
|
||||
|
||||
Thu Apr 20 11:26:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (_link): Check new link path for trailing dot.
|
||||
* syscalls.cc (_link): Check new link path for trailing dot.
|
||||
|
||||
Thu Apr 20 00:32:03 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
|
@ -620,7 +620,7 @@ normalize_posix_path (const char *cwd, const char *src, char *dst)
|
||||
}
|
||||
}
|
||||
if (dst > (dst_start + 1) && dst[-1] == '.' && SLASH_P (dst[-2]))
|
||||
dst -= 2;
|
||||
dst -= dst[2] ? 2 : 1;
|
||||
*dst = 0;
|
||||
debug_printf ("%s = normalize_posix_path (%s)", dst_start, src_start);
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user