wok-next annotate busybox/stuff/busybox-1.12.0-basename.u @ rev 4397
slitaz-loram-http: multi server support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 18 14:07:57 2009 +0200 (2009-10-18) |
parents | |
children |
rev | line source |
---|---|
pascal@2586 | 1 Basename may spuriously break build using 'set -e' |
pascal@2586 | 2 --- busybox-1.12.0/coreutils/basename.c |
pascal@2586 | 3 +++ busybox-1.12.0/coreutils/basename.c |
pascal@2586 | 4 @@ -48,5 +48,6 @@ |
pascal@2586 | 5 |
pascal@2586 | 6 /* puts(s) will do, but we can do without stdio this way: */ |
pascal@2586 | 7 s[m++] = '\n'; |
pascal@2586 | 8 - return full_write(STDOUT_FILENO, s, m) == (ssize_t)m; |
pascal@2586 | 9 + full_write(STDOUT_FILENO, s, m); |
pascal@2586 | 10 + return 0; |
pascal@2586 | 11 } |