From 1de0830e6220c3a5583903c685aa21faced2f02c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 26 Oct 2006 23:32:43 +0000 Subject: [PATCH] Fix minor breakage in previous commit --- include/libbb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libbb.h b/include/libbb.h index da936d66e..234ba122f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -245,10 +245,10 @@ extern off_t bb_copyfd_eof(int fd1, int fd2); extern char bb_process_escape_sequence(const char **ptr); extern char *bb_get_last_path_component(char *path); -/* Prints to stdout closes entire FILE. Exits on error: */ +/* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ extern void xprint_and_close_file(FILE *file); extern char *xmalloc_fgets(FILE *file); -/* /* Read up to (and including) TERMINATING_STRING: */ +/* Read up to (and including) TERMINATING_STRING: */ extern char *xmalloc_fgets_str(FILE *file, const char *terminating_string); /* Chops off '\n' from the end, unlike fgets: */ extern char *xmalloc_getline(FILE *file);