commit | ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Thu Oct 26 23:25:17 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Thu Oct 26 23:25:17 2006 +0000 |
tree | f4f2aa58fa669aed6e2c50bb7aa648a79ec1873d | |
parent | f0ed376eda5d5c25d270e5100a881fb2d801bee6 [diff] [blame] |
rename functions to more understandable names
diff --git a/miscutils/strings.c b/miscutils/strings.c index dae1731..0d5576e 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c
@@ -45,7 +45,7 @@ } do { - file = bb_wfopen(*argv, "r"); + file = fopen_or_warn(*argv, "r"); if (file) { PIPE: count = 0; @@ -75,7 +75,7 @@ } count++; } while (c != EOF); - bb_fclose_nonstdin(file); + fclose_if_not_stdin(file); } else { status = EXIT_FAILURE; }