* Minor small improvements reported by users * Change to make autoheader shut up with its warnings * Include help headers in distribution
15 lines
424 B
Text
15 lines
424 B
Text
$NetBSD: patch-ac,v 1.2 2004/11/09 12:30:40 adam Exp $
|
|
|
|
--- src/NetBSD/os.c.orig 2003-04-24 00:21:29.000000000 +0000
|
|
+++ src/NetBSD/os.c
|
|
@@ -166,8 +166,10 @@ GetStatus(ProcInfo *p)
|
|
|
|
if (proc->kp_proc.p_pid == MyPid && !cmd_options.me_too)
|
|
pstat = SSLEEP;
|
|
+#if __NetBSD_Version__ < 106130000
|
|
else if ((proc->kp_proc.p_flag & P_INMEM) == 0)
|
|
pstat = SSWAP;
|
|
+#endif
|
|
else
|
|
pstat = proc->kp_proc.p_stat;
|
|
|