aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uuencode.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-01 02:55:13 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-01 02:55:13 +0000
commit8cb2f75a75eb9694f36312ab4856d335ab2bac19 (patch)
tree013a1e7752113314831ad7d51854ce8dc9e0918b /coreutils/uuencode.c
parent8bfd1e939579e988ad4d2c0cc1425448f1fd7236 (diff)
downloadbusybox-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/uuencode.c')
-rw-r--r--coreutils/uuencode.c6
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.