mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* 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).
This commit is contained in:
parent
d1b3fc6002
commit
c2bf83aff4
@ -1,3 +1,10 @@
|
||||
2001-07-13 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* 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 <proski@gnu.org>
|
||||
|
||||
* dirent_nt.c: Include <config.h>.
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user