summaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-18 21:30:15 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-18 21:30:15 +0200
commit12659c117653623204067288bddc003616de39eb (patch)
tree4efd646e6994018c78686956141a28d8ba16be90 /package/busybox
parent95a14f57bf8d84d7ba5b4e769b1c0f565dd713e9 (diff)
downloadbuildroot-novena-12659c117653623204067288bddc003616de39eb.tar.gz
buildroot-novena-12659c117653623204067288bddc003616de39eb.zip
busybox: 1.17.0 dos2unix fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/busybox-1.17.0/busybox-1.17.0-dos2unix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.17.0/busybox-1.17.0-dos2unix.patch b/package/busybox/busybox-1.17.0/busybox-1.17.0-dos2unix.patch
new file mode 100644
index 000000000..dde59e046
--- /dev/null
+++ b/package/busybox/busybox-1.17.0/busybox-1.17.0-dos2unix.patch
@@ -0,0 +1,12 @@
+diff -urpN busybox-1.17.0/coreutils/dos2unix.c busybox-1.17.0-dos2unix/coreutils/dos2unix.c
+--- busybox-1.17.0/coreutils/dos2unix.c 2010-06-24 04:40:43.000000000 +0200
++++ busybox-1.17.0-dos2unix/coreutils/dos2unix.c 2010-07-17 22:40:21.021422169 +0200
+@@ -92,7 +92,7 @@ int dos2unix_main(int argc UNUSED_PARAM,
+ do {
+ /* might be convert(NULL) if there is no filename given */
+ convert(*argv, conv_type);
+- } while (*++argv);
++ } while (*argv && *++argv);
+
+ return 0;
+ }