bb_get_[chomped]line_from_file wasn't descriptive enough.

Renaming...
This commit is contained in:
Denis Vlasenko
2006-10-12 22:43:20 +00:00
parent 372686bde7
commit 2d5ca60bfb
20 changed files with 33 additions and 32 deletions

View File

@ -50,7 +50,7 @@ static void cut_file(FILE * file)
unsigned int linenum = 0; /* keep these zero-based to be consistent */
/* go through every line in the file */
while ((line = bb_get_chomped_line_from_file(file)) != NULL) {
while ((line = xmalloc_getline(file)) != NULL) {
/* set up a list so we can keep track of what's been printed */
char * printed = xzalloc(strlen(line) * sizeof(char));