diff options
author | Paul Smith <psmith@gnu.org> | 2005-06-27 01:01:07 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2005-06-27 01:01:07 +0000 |
commit | da1b137e389365ddfb9d16b3d6761cf1a3986e0b (patch) | |
tree | 14a9a1f8b975eaae55a686ff2dc6d602c201b2aa /read.c | |
parent | d6a7894d3a6bdb45def58b2fdfb0629233f4f38b (diff) | |
download | gunmake-da1b137e389365ddfb9d16b3d6761cf1a3986e0b.tar.gz |
Fix strerror() handling for systems which set ANSI_STRING.
Don't print errors if "include" is specified with no arguments.
New test suite for the $(shell ...) function.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -800,12 +800,10 @@ eval (struct ebuffer *ebuf, int set_default) int noerror = (p[0] != 'i'); p = allocated_variable_expand (p2); + + /* If no filenames, it's a no-op. */ if (*p == '\0') - { - error (fstart, - _("no file name for `%sinclude'"), noerror ? "-" : ""); - continue; - } + continue; /* Parse the list of file names. */ p2 = p; |