rename functions to more understandable names

This commit is contained in:
Denis Vlasenko 2006-10-26 23:25:17 +00:00
parent f0ed376eda
commit ddec5af6b0
27 changed files with 63 additions and 68 deletions

View file

@ -107,7 +107,7 @@ int wc_main(int argc, char **argv)
while ((arg = *argv++) != 0) {
++num_files;
fp = bb_wfopen_input(arg);
fp = fopen_or_warn_stdin(arg);
if (!fp) {
status = EXIT_FAILURE;
continue;
@ -172,7 +172,7 @@ int wc_main(int argc, char **argv)
}
totals[WC_LENGTH] -= counts[WC_LENGTH];
bb_fclose_nonstdin(fp);
fclose_if_not_stdin(fp);
OUTPUT:
/* coreutils wc tries hard to print pretty columns