diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 22:43:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 22:43:20 +0000 |
commit | 2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c (patch) | |
tree | 08de18a783dbb518dfbe5832751a214aff7d0a7a /coreutils/uudecode.c | |
parent | 372686bde7b4c0abaf01123d8dda1dc6ab9a92e2 (diff) | |
download | busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.gz busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.bz2 busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.zip |
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
Diffstat (limited to 'coreutils/uudecode.c')
-rw-r--r-- | coreutils/uudecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 921d29af0..c8152a808 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -18,7 +18,7 @@ static int read_stduu(FILE *src_stream, FILE *dst_stream) | |||
18 | { | 18 | { |
19 | char *line; | 19 | char *line; |
20 | 20 | ||
21 | while ((line = bb_get_chomped_line_from_file(src_stream)) != NULL) { | 21 | while ((line = xmalloc_getline(src_stream)) != NULL) { |
22 | int length; | 22 | int length; |
23 | char *line_ptr = line; | 23 | char *line_ptr = line; |
24 | 24 | ||
@@ -140,7 +140,7 @@ int uudecode_main(int argc, char **argv) | |||
140 | } | 140 | } |
141 | 141 | ||
142 | /* Search for the start of the encoding */ | 142 | /* Search for the start of the encoding */ |
143 | while ((line = bb_get_chomped_line_from_file(src_stream)) != NULL) { | 143 | while ((line = xmalloc_getline(src_stream)) != NULL) { |
144 | int (*decode_fn_ptr)(FILE * src, FILE * dst); | 144 | int (*decode_fn_ptr)(FILE * src, FILE * dst); |
145 | char *line_ptr; | 145 | char *line_ptr; |
146 | FILE *dst_stream; | 146 | FILE *dst_stream; |