re PR preprocessor/11839 (GCC cannot find t/t.h if t is a file and t/t.h is in subdirectory temp)
PR preprocessor/11839 * cppfiles.c (open_file): Handle ENOTDIR. From-SVN: r70275
This commit is contained in:
parent
142ee13662
commit
a54c550f3f
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user