From 2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 12 Oct 2006 22:43:20 +0000 Subject: bb_get_[chomped]line_from_file wasn't descriptive enough. Renaming... --- coreutils/uudecode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coreutils/uudecode.c') 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) { char *line; - while ((line = bb_get_chomped_line_from_file(src_stream)) != NULL) { + while ((line = xmalloc_getline(src_stream)) != NULL) { int length; char *line_ptr = line; @@ -140,7 +140,7 @@ int uudecode_main(int argc, char **argv) } /* Search for the start of the encoding */ - while ((line = bb_get_chomped_line_from_file(src_stream)) != NULL) { + while ((line = xmalloc_getline(src_stream)) != NULL) { int (*decode_fn_ptr)(FILE * src, FILE * dst); char *line_ptr; FILE *dst_stream; -- cgit v1.2.3