diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-01 02:55:13 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-01 02:55:13 +0000 |
commit | 8cb2f75a75eb9694f36312ab4856d335ab2bac19 (patch) | |
tree | 013a1e7752113314831ad7d51854ce8dc9e0918b /coreutils/uudecode.c | |
parent | 8bfd1e939579e988ad4d2c0cc1425448f1fd7236 (diff) | |
download | busybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.tar.gz busybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.tar.bz2 busybox-w32-8cb2f75a75eb9694f36312ab4856d335ab2bac19.zip |
Stop using TRUE and FALSE for exit status.
git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/uudecode.c')
-rw-r--r-- | coreutils/uudecode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 78ca0968d..825fdb562 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -294,16 +294,16 @@ int uudecode_main (int argc, | |||
294 | } | 294 | } |
295 | 295 | ||
296 | if (optind == argc) | 296 | if (optind == argc) |
297 | exit_status = decode ("stdin", outname) == 0 ? TRUE : FALSE; | 297 | exit_status = decode ("stdin", outname) == 0 ? EXIT_SUCCESS : EXIT_FAILURE; |
298 | else { | 298 | else { |
299 | exit_status = TRUE; | 299 | exit_status = EXIT_SUCCESS; |
300 | do { | 300 | do { |
301 | if (freopen (argv[optind], "r", stdin) != NULL) { | 301 | if (freopen (argv[optind], "r", stdin) != NULL) { |
302 | if (decode (argv[optind], outname) != 0) | 302 | if (decode (argv[optind], outname) != 0) |
303 | exit_status = FALSE; | 303 | exit_status = FALSE; |
304 | } else { | 304 | } else { |
305 | errorMsg("%s: %s\n", argv[optind], strerror(errno)); | 305 | errorMsg("%s: %s\n", argv[optind], strerror(errno)); |
306 | exit_status = FALSE; | 306 | exit_status = EXIT_FAILURE; |
307 | } | 307 | } |
308 | optind++; | 308 | optind++; |
309 | } | 309 | } |