commit | c59d802a5aa70c0c8f1f9fb8478351c6cbc3f86d | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Tue Apr 01 16:29:21 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Tue Apr 01 16:29:21 2008 +0000 |
tree | 23df9b58f96ac9f3b8604f2fbb024a4de699e95d | |
parent | 9895dfdb9adc55c233bb7945cb8d13bf8044b4b2 [diff] [blame] |
basename: tiny shrink
diff --git a/coreutils/basename.c b/coreutils/basename.c index ed23779..2216182 100644 --- a/coreutils/basename.c +++ b/coreutils/basename.c
@@ -42,7 +42,7 @@ n = strlen(*argv); if ((m > n) && ((strcmp)(s+m-n, *argv) == 0)) { m -= n; - s[m] = '\0'; + /*s[m] = '\0'; - redundant */ } }