projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6adf2aa
)
dos2unix: fix the case w/o parameters
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 17 Jul 2010 20:43:42 +0000
(22:43 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 17 Jul 2010 20:43:42 +0000
(22:43 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/dos2unix.c
patch
|
blob
|
history
diff --git
a/coreutils/dos2unix.c
b/coreutils/dos2unix.c
index 1911f5319bc545bb204332cb2c6810df63ea6c59..e06ecc4e0fc0499dd1d2bb89e14f8367429d6252 100644
(file)
--- a/
coreutils/dos2unix.c
+++ b/
coreutils/dos2unix.c
@@
-92,7
+92,7
@@
int dos2unix_main(int argc UNUSED_PARAM, char **argv)
do {
/* might be convert(NULL) if there is no filename given */
convert(*argv, conv_type);
- } while (*++argv);
+ } while (*
argv && *
++argv);
return 0;
}