public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libgcj/4690: Process.exitValue returns incorrect value
@ 2001-10-25 21:19 bryce
0 siblings, 0 replies; 2+ messages in thread
From: bryce @ 2001-10-25 21:19 UTC (permalink / raw)
To: bryce, gcc-bugs, gcc-prs, java-prs, nobody, shayne
Synopsis: Process.exitValue returns incorrect value
Responsible-Changed-From-To: unassigned->bryce
Responsible-Changed-By: bryce
Responsible-Changed-When: Thu Oct 25 21:19:03 2001
Responsible-Changed-Why:
...
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Thu Oct 25 21:19:03 2001
State-Changed-Why:
This is already fixed in the 3.1 CVS trunk.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4690&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* libgcj/4690: Process.exitValue returns incorrect value
@ 2001-10-25 16:46 shayne
0 siblings, 0 replies; 2+ messages in thread
From: shayne @ 2001-10-25 16:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 4690
>Category: libgcj
>Synopsis: Process.exitValue returns incorrect value
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 25 16:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: shayne@ucdavis.edu
>Release: gcc-3.01
>Organization:
>Environment:
>Description:
java::lang::ConcreteProcess::exitValue in
natPosixProcess.cc returns the raw status
value from waitpid(). This value needs
to be run through the WEXITSTATUS() macro
to extract only the exit code of the process.
>How-To-Repeat:
>Fix:
My quick fix was to replace "return status"
with return WEXITSTATUS(status) in
java::lang::ConcreteProcess::exitValue in
natPosixProcess.cc
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-25 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-25 21:19 libgcj/4690: Process.exitValue returns incorrect value bryce
-- strict thread matches above, loose matches on Subject: below --
2001-10-25 16:46 shayne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).