diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 17:21:26 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 17:21:26 +0000 |
| commit | 84641942e5366b2e09367ba4f4376c99f15ecc8e (patch) | |
| tree | eff2511dcc6cb647e0bf898903f86c94b85466ad /coreutils | |
| parent | bacaff6e5474d6c5f080ce4cd2a55e8ff1ba5c94 (diff) | |
| download | busybox-w32-1_12_2.tar.gz busybox-w32-1_12_2.tar.bz2 busybox-w32-1_12_2.zip | |
apply post-1.12.1 patches, bump version to 1.12.21_12_2
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/basename.c | 2 | ||||
| -rw-r--r-- | coreutils/env.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/basename.c b/coreutils/basename.c index a3085ede3..8a05e92e5 100644 --- a/coreutils/basename.c +++ b/coreutils/basename.c | |||
| @@ -48,5 +48,5 @@ int basename_main(int argc, char **argv) | |||
| 48 | 48 | ||
| 49 | /* puts(s) will do, but we can do without stdio this way: */ | 49 | /* puts(s) will do, but we can do without stdio this way: */ |
| 50 | s[m++] = '\n'; | 50 | s[m++] = '\n'; |
| 51 | return full_write(STDOUT_FILENO, s, m) == (ssize_t)m; | 51 | return full_write(STDOUT_FILENO, s, m) != (ssize_t)m; |
| 52 | } | 52 | } |
diff --git a/coreutils/env.c b/coreutils/env.c index 66199e8d6..2f8c8b71d 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
| @@ -29,6 +29,8 @@ | |||
| 29 | * - use xfunc_error_retval | 29 | * - use xfunc_error_retval |
| 30 | */ | 30 | */ |
| 31 | 31 | ||
| 32 | /* This is a NOEXEC applet. Be very careful! */ | ||
| 33 | |||
| 32 | #include "libbb.h" | 34 | #include "libbb.h" |
| 33 | 35 | ||
| 34 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS | 36 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS |
| @@ -119,5 +121,3 @@ int env_main(int argc UNUSED_PARAM, char **argv) | |||
| 119 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 121 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 120 | * SUCH DAMAGE. | 122 | * SUCH DAMAGE. |
| 121 | */ | 123 | */ |
| 122 | |||
| 123 | |||
