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
4ebe197a
Commit
4ebe197a
authored
May 05, 2000
by
Mark Elbrecht
Committed by
Jeff Law
May 05, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
From-SVN: r33717
parent
d20a70b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+2
-0
gcc/gcc.c
+6
-1
No files found.
gcc/ChangeLog
View file @
4ebe197a
...
...
@@ -12,6 +12,8 @@
2000
-
05
-
05
Mark
Elbrecht
<
snowball3
@bigfoot
.
com
>
*
gcc
.
c
(
set_input
)
[
HAVE_DOS_STYLE_FILE_SYSTEM
]
:
Skip
drive
name
.
*
toplev
.
c
(
output_file_directive
)
:
Use
IS_DIR_SEPARATOR
.
(
main
)
:
Likewise
.
...
...
gcc/gcc.c
View file @
4ebe197a
...
...
@@ -5087,7 +5087,12 @@ set_input (filename)
input_filename_length
=
strlen
(
input_filename
);
input_basename
=
input_filename
;
for
(
p
=
input_filename
;
*
p
;
p
++
)
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
/* Skip drive name so 'x:foo' is handled properly. */
if
(
input_basename
[
1
]
==
':'
)
input_basename
+=
2
;
#endif
for
(
p
=
input_basename
;
*
p
;
p
++
)
if
(
IS_DIR_SEPARATOR
(
*
p
))
input_basename
=
p
+
1
;
...
...
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