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
e0040a8e
Commit
e0040a8e
authored
Sep 14, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(convert_filename): Don't start looking for '.' until after last
directory separator. From-SVN: r12724
parent
a728e7a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
gcc/gcc.c
+5
-1
No files found.
gcc/gcc.c
View file @
e0040a8e
...
...
@@ -2131,7 +2131,11 @@ convert_filename (name, do_exe)
if
(
!
do_exe
||
EXECUTABLE_SUFFIX
[
0
]
==
0
||
(
len
==
2
&&
name
[
0
]
==
'-'
))
return
name
;
for
(
i
=
0
;
i
<
len
;
i
++
)
for
(
i
=
len
-
1
;
i
>=
0
;
i
--
)
if
(
name
[
i
]
==
'/'
||
name
[
i
]
==
DIR_SEPARATOR
)
break
;
for
(
i
++
;
i
<
len
;
i
++
)
if
(
name
[
i
]
==
'.'
)
return
name
;
...
...
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