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
b7004e53
Commit
b7004e53
authored
Jun 14, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1203
parent
76052e74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
gcc/protoize.c
+10
-14
No files found.
gcc/protoize.c
View file @
b7004e53
...
...
@@ -67,9 +67,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#else
#include <sys/dir.h>
#endif
#if ! defined (USG) || defined (SVR4)
#include <sys/wait.h>
#endif
#include <setjmp.h>
#include "gvarargs.h"
...
...
@@ -2041,21 +2038,20 @@ gen_aux_info_file (base_filename)
if
(
wait
(
&
wait_status
)
==
-
1
)
{
fprintf
(
stderr
,
"%s:
error: wait for process
failed: %s
\n
"
,
fprintf
(
stderr
,
"%s:
wait
failed: %s
\n
"
,
pname
,
sys_errlist
[
errno
]);
return
0
;
}
if
(
!
WIFEXITED
(
wait_status
))
{
fprintf
(
stderr
,
"%s: error: subprocess %ld did not exit
\n
"
,
pname
,
(
long
)
child_pid
);
kill
(
child_pid
,
9
);
return
0
;
}
if
(
WEXITSTATUS
(
wait_status
)
!=
0
)
if
((
wait_status
&
0x7F
)
!=
0
)
{
fprintf
(
stderr
,
"%s: subprocess got fatal signal %d"
,
pname
,
(
wait_status
&
0x7F
));
return
0
;
}
if
(((
wait_status
&
0xFF00
)
>>
8
)
!=
0
)
{
fprintf
(
stderr
,
"%s:
error: %s: compilation faile
d
\n
"
,
pname
,
base_filename
);
fprintf
(
stderr
,
"%s:
%s exited with status %
d
\n
"
,
pname
,
base_filename
,
((
wait_status
&
0xFF00
)
>>
8
)
);
return
0
;
}
return
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