public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Fix compilation issue on F9
@ 2008-04-07 15:33 pmachata
  0 siblings, 0 replies; only message in thread
From: pmachata @ 2008-04-07 15:33 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  70bbfadc7526f5cf5c682bb6c3c5fe50592afed6 (commit)
      from  9472675fd80d52cdc4f259133d0278511c0f3da9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 70bbfadc7526f5cf5c682bb6c3c5fe50592afed6
Author: Petr Machata <pmachata@redhat.com>
Date:   Mon Apr 7 17:27:10 2008 +0200

    Fix compilation issue on F9

-----------------------------------------------------------------------

Summary of changes:
 frysk-sys/frysk/sys/ChangeLog    |    5 +++++
 frysk-sys/frysk/sys/cni/Wait.cxx |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/frysk-sys/frysk/sys/ChangeLog b/frysk-sys/frysk/sys/ChangeLog
index 5f7704f..5893ffd 100644
--- a/frysk-sys/frysk/sys/ChangeLog
+++ b/frysk-sys/frysk/sys/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-07  Petr Machata  <pmachata@redhat.com>
+
+	* cni/Wait.cxx (processStatus): Normalize status to boolean in
+	call to terminated.
+
 2008-03-11  Andrew Cagney  <cagney@redhat.com>
 
 	* Wait.java: Use LogFactory.
diff --git a/frysk-sys/frysk/sys/cni/Wait.cxx b/frysk-sys/frysk/sys/cni/Wait.cxx
index cbae31a..f902bb0 100644
--- a/frysk-sys/frysk/sys/cni/Wait.cxx
+++ b/frysk-sys/frysk/sys/cni/Wait.cxx
@@ -149,7 +149,7 @@ processStatus(frysk::sys::ProcessIdentifier* pid, int status,
     {
       int termSig = WTERMSIG (status);
       frysk::sys::Signal* signal = frysk::sys::Signal::valueOf (termSig);
-      builder->terminated(pid, signal, -termSig, WCOREDUMP (status));
+      builder->terminated(pid, signal, -termSig, !! WCOREDUMP (status));
     }
   else if (WIFSTOPPED (status)) {
     switch (WSTOPEVENT (status)) {
@@ -192,7 +192,7 @@ processStatus(frysk::sys::ProcessIdentifier* pid, int status,
 	} else if (WIFSIGNALED (exitStatus)) {
 	  int termSig = WTERMSIG (exitStatus);
 	  frysk::sys::Signal* signal = frysk::sys::Signal::valueOf (termSig);
-	  builder->exitEvent(pid, signal, -termSig, WCOREDUMP (exitStatus));
+	  builder->exitEvent(pid, signal, -termSig, !! WCOREDUMP (exitStatus));
 	} else {
 	  throwRuntimeException ("unknown exit event", "status", exitStatus);
 	}


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-07 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07 15:33 [SCM] master: Fix compilation issue on F9 pmachata

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).