summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-07 10:16:55 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-07 10:16:55 +0000
commitc4dbac60aee018bef76162a1d25e73fc17923baf (patch)
tree3fd07c994c32d4a31b70dc8fdfd47747806973a2 /package
parent95e165c2bc68a92e2d16c12582d00bc01b349813 (diff)
downloadbuildroot-novena-c4dbac60aee018bef76162a1d25e73fc17923baf.tar.gz
buildroot-novena-c4dbac60aee018bef76162a1d25e73fc17923baf.zip
busybox: basename 1.12.1 fix
Diffstat (limited to 'package')
-rw-r--r--package/busybox/busybox-1.12.1-basename.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.12.1-basename.patch b/package/busybox/busybox-1.12.1-basename.patch
new file mode 100644
index 000000000..9d078a5b3
--- /dev/null
+++ b/package/busybox/busybox-1.12.1-basename.patch
@@ -0,0 +1,10 @@
+diff -urpN busybox-1.12.1/coreutils/basename.c busybox-1.12.1-basename/coreutils/basename.c
+--- busybox-1.12.1/coreutils/basename.c 2008-09-28 20:04:18.000000000 +0200
++++ busybox-1.12.1-basename/coreutils/basename.c 2008-11-06 16:10:54.000000000 +0100
+@@ -48,5 +48,5 @@ int basename_main(int argc, char **argv)
+
+ /* puts(s) will do, but we can do without stdio this way: */
+ s[m++] = '\n';
+- return full_write(STDOUT_FILENO, s, m) == (ssize_t)m;
++ return full_write(STDOUT_FILENO, s, m) != (ssize_t)m;
+ }