From 61b74a4c6890d684c9f169fbb4c443b2b450aeb7 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 24 May 1996 17:49:53 +0000 Subject: (merge_procinfo): And update *HAVE with PSTAT_PROC_INFO from REALLY_HAVE here. --- libps/procstat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libps/procstat.c') diff --git a/libps/procstat.c b/libps/procstat.c index 7584c047..4167e130 100644 --- a/libps/procstat.c +++ b/libps/procstat.c @@ -177,7 +177,8 @@ merge_procinfo (process_t server, pid_t pid, previously fetched thread-info is out-of-date now, so we have to make do with whatever we've fetched this time. */ *have = - (*have & ~PSTAT_PROCINFO_THREAD) | (really_have & PSTAT_PROCINFO_THREAD); + (*have & ~(PSTAT_PROCINFO_THREAD | PSTAT_PROC_INFO) ) + | (really_have & (PSTAT_PROCINFO_THREAD | PSTAT_PROC_INFO)); *pi = new_pi; *pi_size = new_pi_size; -- cgit v1.2.3