diff options
author | Greg McGary <greg@mcgary.org> | 1999-02-11 18:41:56 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1999-02-11 18:41:56 +0000 |
commit | 98f3ff30964278232d3c67d49c797a5776fcfebf (patch) | |
tree | 833ee2cba464314a62f0e9048ef22296d341cbea | |
parent | 3e267c16f53ab295108de523d51cdfd2a3233349 (diff) | |
download | idutils-98f3ff30964278232d3c67d49c797a5776fcfebf.tar.gz idutils-98f3ff30964278232d3c67d49c797a5776fcfebf.tar.bz2 idutils-98f3ff30964278232d3c67d49c797a5776fcfebf.zip |
* src/lid.c (report_grep): Continue rather than return when
fopen fails.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/lid.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +1999-02-11 Greg McGary <gkm@gnu.org> + + * src/lid.c (report_grep): Continue rather than return when + fopen fails. + 1999-01-31 Jim Meyering <meyering@ascend.com> * doc/Makefile.am (DISTCLEANFILES): Remove id-utils.cm. @@ -566,7 +566,7 @@ report_grep (char const *name, struct file_link **flinkv) if (gid_FILE == 0) { error (0, errno, "can't open `%s'", file_name); - return; + continue; } while (fgets (line + 1, sizeof (line) - 1, gid_FILE)) |