From 459a95619788793541553674eb5bb59888aa7f6a Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 16 Jan 2005 17:13:51 +0000 Subject: * ps.cc (main): Eliminate use of PID_ZOMBIE. * strace.cc (main): Recognize new option for displaying hex value of strace type. (handle_output_debug_string): Prepend output with hex value of strace message if -H is specified. --- winsup/utils/ps.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/utils/ps.cc') diff --git a/winsup/utils/ps.cc b/winsup/utils/ps.cc index 843693598..12b60fd08 100644 --- a/winsup/utils/ps.cc +++ b/winsup/utils/ps.cc @@ -345,7 +345,7 @@ main (int argc, char *argv[]) status = 'O'; char pname[MAX_PATH]; - if (p->process_state & (PID_ZOMBIE | PID_EXITED)) + if (p->process_state & PID_EXITED || (p->exitcode & ~0xffff)) strcpy (pname, ""); else if (p->ppid) { -- cgit v1.2.3