Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3d7428b8
Commit
3d7428b8
authored
Aug 24, 2000
by
Zack Weinberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r35960
parent
cc914f8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gcc/cppfiles.c
+4
-5
No files found.
gcc/cppfiles.c
View file @
3d7428b8
...
...
@@ -616,7 +616,10 @@ read_include_file (pfile, inc)
if
(
fd
<
0
||
fstat
(
fd
,
&
st
)
<
0
)
goto
perror_fail
;
/* These must be set right away. */
inc
->
date
=
st
.
st_mtime
;
fp
->
inc
=
inc
;
fp
->
nominal_fname
=
inc
->
name
;
/* If fd points to a plain file, we might be able to mmap it; we can
definitely allocate the buffer all at once. If fd is a pipe or
...
...
@@ -673,11 +676,6 @@ read_include_file (pfile, inc)
goto
perror_fail
;
}
/* These must be set before prescan. */
fp
->
inc
=
inc
;
fp
->
nominal_fname
=
inc
->
name
;
pfile
->
include_depth
++
;
if
(
length
==
0
)
inc
->
cmacro
=
NEVER_REREAD
;
...
...
@@ -691,6 +689,7 @@ read_include_file (pfile, inc)
if
(
!
CPP_OPTION
(
pfile
,
ignore_srcdir
))
fp
->
actual_dir
=
actual_directory
(
pfile
,
inc
->
name
);
pfile
->
include_depth
++
;
pfile
->
input_stack_listing_current
=
0
;
if
(
pfile
->
cb
.
enter_file
)
(
*
pfile
->
cb
.
enter_file
)
(
pfile
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment