projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e1f0f4
)
(main): Fix off-by-one error introduced with last change.
author
Jim Meyering
<jim@meyering.net>
Sun, 22 Apr 2001 09:15:17 +0000
(09:15 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 22 Apr 2001 09:15:17 +0000
(09:15 +0000)
src/ls.c
patch
|
blob
|
history
diff --git
a/src/ls.c
b/src/ls.c
index 7eb50aa64c3da565b46def88ccb45f460de857ec..45ab5cb254d11be7dcd839e91ab4be2d86468d95 100644
(file)
--- a/
src/ls.c
+++ b/
src/ls.c
@@
-895,7
+895,7
@@
main (int argc, char **argv)
clear_files ();
n_files = argc - i;
- if (0 <
=
n_files)
+ if (0 < n_files)
dir_defaulted = 0;
for (; i < argc; i++)