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
a6e919b3
Commit
a6e919b3
authored
Aug 04, 2000
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
From-SVN: r35485
parent
93284395
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
gcc/ChangeLog
+5
-1
gcc/prefix.c
+4
-8
No files found.
gcc/ChangeLog
View file @
a6e919b3
2000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
2000-08-04 Donn Terry (donnte@microsoft.com)
* prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
2000-08-04 Mark Elbrecht <snowball3@bigfoot.com>
* i386/x-djgpp: Delete code that conditionally modifies target_alias.
Delete code that conditionally modifies 'version'.
...
...
gcc/prefix.c
View file @
a6e919b3
...
...
@@ -268,14 +268,10 @@ translate_name (name)
if
(
prefix
==
0
)
prefix
=
PREFIX
;
/* Remove any trailing directory separator from what we got. First check
for an empty prefix. */
if
(
prefix
[
0
]
&&
IS_DIR_SEPARATOR
(
prefix
[
strlen
(
prefix
)
-
1
]))
{
char
*
temp
=
xstrdup
(
prefix
);
temp
[
strlen
(
temp
)
-
1
]
=
0
;
prefix
=
temp
;
}
/* We used to strip trailing DIR_SEPARATORs here, but that can
sometimes yield a result with no separator when one was coded
and intended by the user, causing two path components to run
together. */
return
concat
(
prefix
,
name
,
NULL_PTR
);
}
...
...
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