1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-02 23:04:06 +02:00
openwrt-xburst/package/busybox/patches/901-basename.patch
kaloz ac2d02c3e0 upgrade busybox to v1.11.1 and add current upstream fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 14:00:34 +00:00

10 lines
269 B
Diff

--- 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;
}