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... --- miscutils/dc.c | 2 +- miscutils/makedevs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'miscutils') diff --git a/miscutils/dc.c b/miscutils/dc.c index 8e7a249..fd53901 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c @@ -208,7 +208,7 @@ int dc_main(int argc, char **argv) char *line = NULL; char *cursor = NULL; char *token = NULL; - while ((line = bb_get_chomped_line_from_file(stdin))) { + while ((line = xmalloc_getline(stdin))) { cursor = line; len = number_of_tokens(line); for (i = 0; i < len; i++) { diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index e27634a..e465801 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c @@ -95,7 +95,7 @@ int makedevs_main(int argc, char **argv) printf("table=\n"); } - while ((line = bb_get_chomped_line_from_file(table))) { + while ((line = xmalloc_getline(table))) { char type; unsigned int mode = 0755; unsigned int major = 0; -- cgit v1.1