aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uuencode.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
committerMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
commitf57c944e09417edcbcd69f2b01b937cadef39db2 (patch)
treea55822621d54bd82c54e272fa986e45698fea0f1 /coreutils/uuencode.c
parent7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff)
downloadbusybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz
busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.bz2
busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.zip
Changed names of functions in utility.c and all affected files, to make
compliant with the style guide. Everybody rebuild your tags file!
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 8d15adbf6..41e659075 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -142,7 +142,7 @@ static void encode()
142 } 142 }
143 143
144 if (ferror (stdin)) 144 if (ferror (stdin))
145 errorMsg("Read error\n"); 145 error_msg("Read error\n");
146 146
147 if (trans_ptr == uu_std) { 147 if (trans_ptr == uu_std) {
148 putchar (ENC ('\0')); 148 putchar (ENC ('\0'));
@@ -178,7 +178,7 @@ int uuencode_main (int argc,
178 case 2: 178 case 2:
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 error_msg("%s: %s\n", argv[optind], strerror(errno));
182 return EXIT_FAILURE; 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);
@@ -199,7 +199,7 @@ int uuencode_main (int argc,
199 encode(); 199 encode();
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 error_msg("Write error\n");
203 return EXIT_FAILURE; 203 return EXIT_FAILURE;
204 } 204 }
205 return EXIT_SUCCESS; 205 return EXIT_SUCCESS;