1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 11:24:36 +02:00
openwrt-xburst/package/busybox/patches/901-basename.patch

10 lines
269 B
Diff
Raw Normal View History

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