summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-04-20 22:42:32 +0000
committerRoland McGrath <roland@redhat.com>1994-04-20 22:42:32 +0000
commitf2c10dedf0cdf46848c4361032decf00c126b748 (patch)
tree54bfd95776de31a782660b53c70891969928b8a5 /read.c
parent37c95f6d390b5d2ba14f63168864e9d96c751148 (diff)
downloadmake-f2c10dedf0cdf46848c4361032decf00c126b748.tar.gz
(read_makefile): Write no error msg for -include file.
Diffstat (limited to 'read.c')
-rw-r--r--read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/read.c b/read.c
index b101d384..e232d992 100644
--- a/read.c
+++ b/read.c
@@ -576,7 +576,8 @@ read_makefile (filename, flags)
files = next;
if (! read_makefile (name, (RM_INCLUDED | RM_NO_TILDE
- | (noerror ? RM_DONTCARE : 0))))
+ | (noerror ? RM_DONTCARE : 0)))
+ && ! noerror)
makefile_error (filename, lineno,
"%s: %s", name, strerror (errno));
}