bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
This commit is contained in:
@ -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++) {
|
||||
|
@ -95,7 +95,7 @@ int makedevs_main(int argc, char **argv)
|
||||
printf("table=<stdin>\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;
|
||||
|
Reference in New Issue
Block a user