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

@ -112,7 +112,7 @@ int head_main(int argc, char **argv)
#endif
do {
fp = bb_wfopen_input(*argv);
fp = fopen_or_warn_stdin(*argv);
if (fp) {
if (fp == stdin) {
*argv = (char *) bb_msg_standard_input;
@ -127,7 +127,7 @@ int head_main(int argc, char **argv)
}
putchar(c);
}
if (bb_fclose_nonstdin(fp)) {
if (fclose_if_not_stdin(fp)) {
bb_perror_msg("%s", *argv); /* Avoid multibyte problems. */
retval = EXIT_FAILURE;
}