mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-27 02:23:35 +08:00
convert a > expression to the equivalent < one
This commit is contained in:
parent
ded8b14afb
commit
04f549820f
@ -113,7 +113,7 @@ dir_name_r (char const *path, char const **result)
|
||||
canonicalized "d:/path", leave alone the root case "d:/". */
|
||||
char const *lim = path + FILESYSTEM_PREFIX_LEN (path);
|
||||
|
||||
while (slash > lim && ISSLASH (*slash))
|
||||
while (lim < slash && ISSLASH (*slash))
|
||||
--slash;
|
||||
|
||||
length = slash - path + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user