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
b0f4807f
Commit
b0f4807f
authored
Nov 16, 2007
by
Michael Matz
Committed by
Michael Matz
Nov 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* files.c (search_path_head): Fix check for absolute paths.
From-SVN: r130229
parent
237b2f1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
libcpp/ChangeLog
+4
-0
libcpp/files.c
+2
-1
No files found.
libcpp/ChangeLog
View file @
b0f4807f
2007
-
11
-
16
Michael
Matz
<
matz
@
suse.de
>
*
files.c
(
search_path_head
):
Fix
check
for
absolute
paths.
2007
-
11
-
05
Tom
Tromey
<
tromey
@
redhat.com
>
2007
-
11
-
05
Tom
Tromey
<
tromey
@
redhat.com
>
*
include
/
line
-map.h
(
LINEMAP_POSITION_FOR_COLUMN
):
Wrap
in
*
include
/
line
-map.h
(
LINEMAP_POSITION_FOR_COLUMN
):
Wrap
in
...
...
libcpp/files.c
View file @
b0f4807f
...
@@ -837,7 +837,8 @@ search_path_head (cpp_reader *pfile, const char *fname, int angle_brackets,
...
@@ -837,7 +837,8 @@ search_path_head (cpp_reader *pfile, const char *fname, int angle_brackets,
/* For #include_next, skip in the search path past the dir in which
/* For #include_next, skip in the search path past the dir in which
the current file was found, but if it was found via an absolute
the current file was found, but if it was found via an absolute
path use the normal search logic. */
path use the normal search logic. */
if
(
type
==
IT_INCLUDE_NEXT
&&
file
->
dir
)
if
(
type
==
IT_INCLUDE_NEXT
&&
file
->
dir
&&
file
->
dir
!=
&
pfile
->
no_search_path
)
dir
=
file
->
dir
->
next
;
dir
=
file
->
dir
->
next
;
else
if
(
angle_brackets
)
else
if
(
angle_brackets
)
dir
=
pfile
->
bracket_include
;
dir
=
pfile
->
bracket_include
;
...
...
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