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
5f0c48ed
Commit
5f0c48ed
authored
Jan 04, 2005
by
Geoffrey Keating
Committed by
Geoffrey Keating
Jan 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* toplev.c (get_src_pwd): Handle failure of getpwd().
From-SVN: r92910
parent
e3523f56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/ChangeLog
+4
-0
gcc/toplev.c
+5
-1
No files found.
gcc/ChangeLog
View file @
5f0c48ed
2005-01-04 Geoffrey Keating <geoffk@apple.com>
* toplev.c (get_src_pwd): Handle failure of getpwd().
2005-01-04 Roger Sayle <roger@eyesopen.com>
* fold-const.c (fold_single_bit_test): Delete unreachable handling
...
...
gcc/toplev.c
View file @
5f0c48ed
...
...
@@ -449,7 +449,11 @@ const char *
get_src_pwd
(
void
)
{
if
(
!
src_pwd
)
src_pwd
=
getpwd
();
{
src_pwd
=
getpwd
();
if
(
!
src_pwd
)
src_pwd
=
"."
;
}
return
src_pwd
;
}
...
...
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