diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-23 11:13:23 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-23 11:13:23 +0000 |
commit | 40514a0309939f2446f0d4ed9600cad5de396e7f (patch) | |
tree | 0f5f4a57d4bb7893418b5bb11d482858eb17ba8b /coreutils/uudecode.c | |
parent | 9db164d6e39050d09f38288c6045cd2a2cbf6d63 (diff) | |
parent | c0cae52662ccced9df19f19ec94238d1b1e3bd71 (diff) | |
download | busybox-w32-40514a0309939f2446f0d4ed9600cad5de396e7f.tar.gz busybox-w32-40514a0309939f2446f0d4ed9600cad5de396e7f.tar.bz2 busybox-w32-40514a0309939f2446f0d4ed9600cad5de396e7f.zip |
Merge commit 'c0cae52662ccced9df19f19ec94238d1b1e3bd71' into merge
Conflicts:
Makefile.flags
scripts/basic/fixdep.c
Diffstat (limited to 'coreutils/uudecode.c')
-rw-r--r-- | coreutils/uudecode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 6ecfe6cef..23ff711fa 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -125,10 +125,11 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv) | |||
125 | mode = bb_strtou(line_ptr, NULL, 8); | 125 | mode = bb_strtou(line_ptr, NULL, 8); |
126 | if (outname == NULL) { | 126 | if (outname == NULL) { |
127 | outname = strchr(line_ptr, ' '); | 127 | outname = strchr(line_ptr, ' '); |
128 | if ((outname == NULL) || (*outname == '\0')) { | 128 | if (!outname) |
129 | break; | 129 | break; |
130 | } | ||
131 | outname++; | 130 | outname++; |
131 | if (!outname[0]) | ||
132 | break; | ||
132 | } | 133 | } |
133 | dst_stream = stdout; | 134 | dst_stream = stdout; |
134 | if (NOT_LONE_DASH(outname)) { | 135 | if (NOT_LONE_DASH(outname)) { |