wok-4.x diff busybox/stuff/busybox-1.12.0-basename.u @ rev 3685

Add: slitaz-doc-menu
author Matthew Sheets <rcx@zoominternet.net>
date Tue Jul 14 13:36:14 2009 +0000 (2009-07-14)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/busybox/stuff/busybox-1.12.0-basename.u	Tue Jul 14 13:36:14 2009 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +Basename may spuriously break build using 'set -e'
     1.5 +--- busybox-1.12.0/coreutils/basename.c
     1.6 ++++ busybox-1.12.0/coreutils/basename.c
     1.7 +@@ -48,5 +48,6 @@
     1.8 + 
     1.9 + 	/* puts(s) will do, but we can do without stdio this way: */
    1.10 + 	s[m++] = '\n';
    1.11 +-	return full_write(STDOUT_FILENO, s, m) == (ssize_t)m;
    1.12 ++	full_write(STDOUT_FILENO, s, m);
    1.13 ++	return 0;
    1.14 + }