diff options
author | Matt Kraai <kraai@debian.org> | 2000-12-01 02:55:13 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-12-01 02:55:13 +0000 |
commit | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch) | |
tree | 013a1e7752113314831ad7d51854ce8dc9e0918b /coreutils/uuencode.c | |
parent | b558e76eb1ba173ce3501c3e13fb80f426a7faac (diff) | |
download | busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.bz2 busybox-w32-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip |
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'coreutils/uuencode.c')
-rw-r--r-- | coreutils/uuencode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index aea99ed87..8d15adbf6 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c | |||
@@ -179,7 +179,7 @@ int uuencode_main (int argc, | |||
179 | /* Optional first argument is input file. */ | 179 | /* Optional first argument is input file. */ |
180 | if (!freopen (argv[optind], "r", stdin) || fstat (fileno (stdin), &sb)) { | 180 | if (!freopen (argv[optind], "r", stdin) || fstat (fileno (stdin), &sb)) { |
181 | errorMsg("%s: %s\n", argv[optind], strerror(errno)); | 181 | errorMsg("%s: %s\n", argv[optind], strerror(errno)); |
182 | exit FALSE; | 182 | return EXIT_FAILURE; |
183 | } | 183 | } |
184 | mode = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO); | 184 | mode = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO); |
185 | optind++; | 185 | optind++; |
@@ -200,9 +200,9 @@ int uuencode_main (int argc, | |||
200 | printf(trans_ptr == uu_std ? "end\n" : "====\n"); | 200 | printf(trans_ptr == uu_std ? "end\n" : "====\n"); |
201 | if (ferror (stdout)) { | 201 | if (ferror (stdout)) { |
202 | errorMsg("Write error\n"); | 202 | errorMsg("Write error\n"); |
203 | exit FALSE; | 203 | return EXIT_FAILURE; |
204 | } | 204 | } |
205 | return( TRUE); | 205 | return EXIT_SUCCESS; |
206 | } | 206 | } |
207 | 207 | ||
208 | /* Copyright (c) 1983 Regents of the University of California. | 208 | /* Copyright (c) 1983 Regents of the University of California. |