wok view busybox/stuff/busybox-1.12.0-basename.u @ rev 4831
Up: beaver (0.4.0rc1) - Add custom config file, may replace geany has code editor
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 21 23:14:05 2010 +0100 (2010-01-21) |
parents | |
children |
line source
1 Basename may spuriously break build using 'set -e'
2 --- busybox-1.12.0/coreutils/basename.c
3 +++ busybox-1.12.0/coreutils/basename.c
4 @@ -48,5 +48,6 @@
6 /* puts(s) will do, but we can do without stdio this way: */
7 s[m++] = '\n';
8 - return full_write(STDOUT_FILENO, s, m) == (ssize_t)m;
9 + full_write(STDOUT_FILENO, s, m);
10 + return 0;
11 }