diff options
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 4c619de..c067476 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c @@ -18,7 +18,7 @@ static void read_stduu(FILE *src_stream, FILE *dst_stream) { char *line; - while ((line = xmalloc_getline(src_stream)) != NULL) { + while ((line = xmalloc_fgetline(src_stream)) != NULL) { int encoded_len, str_len; char *line_ptr, *dst; @@ -151,7 +151,7 @@ int uudecode_main(int argc ATTRIBUTE_UNUSED, char **argv) src_stream = xfopen_stdin(*argv); /* Search for the start of the encoding */ - while ((line = xmalloc_getline(src_stream)) != NULL) { + while ((line = xmalloc_fgetline(src_stream)) != NULL) { void (*decode_fn_ptr)(FILE * src, FILE * dst); char *line_ptr; FILE *dst_stream; |