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
6f5541c7
Commit
6f5541c7
authored
Nov 29, 1995
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cccp.c (do_include): Recognize c:\foo as absolute path name in DOS.
From-SVN: r10631
parent
c1da383f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/cccp.c
+8
-0
No files found.
gcc/cccp.c
View file @
6f5541c7
...
...
@@ -4483,6 +4483,14 @@ get_filename:
#ifdef DIR_SEPARATOR
||
*
fbeg
==
DIR_SEPARATOR
#endif
#if defined (__MSDOS__) || defined (_WIN32)
||
(
isalpha
(
fbeg
[
0
])
&&
fbeg
[
1
]
==
':'
&&
(
fbeg
[
2
]
==
'/'
#ifdef DIR_SEPARATOR
||
fbeg
[
2
]
==
DIR_SEPARATOR
#endif
))
#endif
)
{
strncpy
(
fname
,
(
char
*
)
fbeg
,
flen
);
fname
[
flen
]
=
0
;
...
...
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