projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142ee13
)
re PR preprocessor/11839 (GCC cannot find t/t.h if t is a file and t/t.h is in subdir...
author
Neil Booth
<neil@daikokuya.co.uk>
Sat, 9 Aug 2003 08:53:02 +0000
(08:53 +0000)
committer
Neil Booth
<neil@gcc.gnu.org>
Sat, 9 Aug 2003 08:53:02 +0000
(08:53 +0000)
PR preprocessor/11839
* cppfiles.c (open_file): Handle ENOTDIR.
From-SVN: r70275
gcc/ChangeLog
patch
|
blob
|
history
gcc/cppfiles.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 6a73d11c131cb8a5584b1809dbb1de43257f3928..ce0272437676430c01830aef8fad60a82dfc7821 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+2003-08-09 Neil Booth <neil@daikokuya.co.uk>
+
+ PR preprocessor/11839
+ * cppfiles.c (open_file): Handle ENOTDIR.
+
2003-08-09 Richard Sandiford <rsandifo@redhat.com>
PR target/11699
diff --git
a/gcc/cppfiles.c
b/gcc/cppfiles.c
index 8dcc269d1062b730c4be7da745fdf15b5ee962a8..4c3608b127c764e9b1efc7bb2f20762cd5634fd0 100644
(file)
--- a/
gcc/cppfiles.c
+++ b/
gcc/cppfiles.c
@@
-230,6
+230,8
@@
open_file (_cpp_file *file)
close (file->fd);
file->fd = -1;
}
+ else if (errno == ENOTDIR)
+ errno = ENOENT;
file->err_no = errno;