upgrade busybox to v1.11.1 and add current upstream fixes
[openwrt-10.03/.git] / package / busybox / patches / 901-basename.patch
1 --- a/coreutils/basename.c
2 +++ b/coreutils/basename.c
3 @@ -48,5 +48,5 @@
4  
5         /* puts(s) will do, but we can do without stdio this way: */
6         s[m++] = '\n';
7 -       return full_write(STDOUT_FILENO, s, m) == (ssize_t)m;
8 +       return full_write(STDOUT_FILENO, s, m) != (ssize_t)m;
9  }