diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-07 14:13:51 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-07 14:13:51 +0000 |
commit | bcc94017bc6d15789606026ecf4a03f005a54edf (patch) | |
tree | 7a3dc8ec2925db05dd18b80f6fbd5a66d6b8d5ba | |
parent | b615d79ac3495501e060ca0fac9e1c3b75e16a54 (diff) | |
download | coreutils-bcc94017bc6d15789606026ecf4a03f005a54edf.tar.xz |
convert a > expression to the equivalent < one
-rw-r--r-- | lib/stripslash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stripslash.c b/lib/stripslash.c index 20cdc48b5..f55c76912 100644 --- a/lib/stripslash.c +++ b/lib/stripslash.c @@ -41,6 +41,6 @@ strip_trailing_slashes (char *path) int last; last = strlen (path) - 1; - while (last > 0 && ISSLASH (path[last])) + while (0 < last && ISSLASH (path[last])) path[last--] = '\0'; } |