upgrade busybox to v1.11.1 and add current upstream fixes
[openwrt-10.03/.git] / package / busybox / patches / 901-basename.patch
diff --git a/package/busybox/patches/901-basename.patch b/package/busybox/patches/901-basename.patch
new file mode 100644 (file)
index 0000000..180cf7b
--- /dev/null
@@ -0,0 +1,9 @@
+--- a/coreutils/basename.c
++++ b/coreutils/basename.c
+@@ -48,5 +48,5 @@
+       /* 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;
+ }