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
fe628d09
Commit
fe628d09
authored
Jun 13, 1996
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c (pfatal_pexecute): Delete code to check errno < sys_nerr.
From-SVN: r12281
parent
745466f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
14 deletions
+2
-14
gcc/gcc.c
+2
-14
No files found.
gcc/gcc.c
View file @
fe628d09
...
...
@@ -973,8 +973,8 @@ char *
my_strerror
(
e
)
int
e
;
{
#ifdef HAVE_STRERROR
return
strerror
(
e
);
#else
...
...
@@ -4557,18 +4557,6 @@ pfatal_pexecute (errmsg_fmt, errmsg_arg)
char
*
errmsg_fmt
;
char
*
errmsg_arg
;
{
char
buf
[
30
];
char
*
s
;
/* ??? Why doesn't my_strerror handle this? */
if
(
errno
<
sys_nerr
)
s
=
my_strerror
(
errno
);
else
{
sprintf
(
buf
,
"unknown error %d"
,
errno
);
s
=
buf
;
}
if
(
errmsg_arg
)
{
/* Space for trailing '\0' is in %s. */
...
...
@@ -4577,7 +4565,7 @@ pfatal_pexecute (errmsg_fmt, errmsg_arg)
errmsg_fmt
=
msg
;
}
fatal
(
"%s: %s"
,
errmsg_fmt
,
s
);
fatal
(
"%s: %s"
,
errmsg_fmt
,
my_strerror
(
errno
)
);
}
/* More 'friendly' abort that prints the line and file.
...
...
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