public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: pmachata@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Fix compilation issue on F9 Date: Mon, 07 Apr 2008 15:33:00 -0000 [thread overview] Message-ID: <20080407153329.20521.qmail@sourceware.org> (raw) 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
reply other threads:[~2008-04-07 15:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080407153329.20521.qmail@sourceware.org \ --to=pmachata@sourceware.org \ --cc=frysk-cvs@sourceware.org \ --cc=frysk@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).