From owner-freebsd-alpha Fri Feb 1 1:36:17 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from r220-1.rz.RWTH-Aachen.DE (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by hub.freebsd.org (Postfix) with ESMTP id 2B3D837B400 for ; Fri, 1 Feb 2002 01:36:14 -0800 (PST) Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3-2) with ESMTP id g119aBL20523; Fri, 1 Feb 2002 10:36:11 +0100 (MET) Received: from hyperion.informatik.rwth-aachen.de (hyperion.Informatik.RWTH-Aachen.DE [137.226.194.33]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3/6) with ESMTP id g119aAu20503; Fri, 1 Feb 2002 10:36:10 +0100 (MET) Received: from margaux.informatik.rwth-aachen.de (margaux.Informatik.RWTH-Aachen.DE [137.226.194.72]) by hyperion.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1) with ESMTP id KAA01926; Fri, 1 Feb 2002 10:34:37 +0100 (MET) Received: (from stolz@localhost) by margaux.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1-gb-2) id KAA14568; Fri, 1 Feb 2002 10:36:03 +0100 (MET) Date: Fri, 1 Feb 2002 10:36:03 +0100 From: Volker Stolz To: Peter Wemm Cc: alpha@freebsd.org Subject: Re: ps(1) output Q Message-ID: <20020201103603.A14562@i2.informatik.rwth-aachen.de> References: <20020131103128.GA6082@cicely8.cicely.de> <20020201001626.3AB243809@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <20020201001626.3AB243809@overcee.wemm.org> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In local.freebsd-alpha, you wrote: > Care to double check this patch? > @@ -670,7 +670,7 @@ > int oid[4]; > int i; > size_t bufsz; > - static int buflen; > + static unsigned long buflen; > static char *buf, *p; > static char **bufp; > static int argc; > > It seems to fix it for me, but a double check from somebody else would be > handy in case it depends on something else that I've forgotten about. Looks okay: bash# ./ps PID TT STAT TIME COMMAND 19442 p0 I 0:00.84 _su (csh) 19447 p0 S 0:00.78 bash 19721 p0 R+ 0:00.00 ./ps 144 d0 IWs+ 0:00.00 /usr/libexec/getty std.9600 ttyd0 bash# umount /proc bash# ps PID TT STAT TIME COMMAND 19442 p0 I 0:00.84 (csh) 19447 p0 S 0:00.88 (bash) 19727 p0 R+ 0:00.00 (ps) 144 d0 IWs+ 0:00.00 (getty) bash# ./ps PID TT STAT TIME COMMAND 19442 p0 I 0:00.84 _su (csh) 19447 p0 S 0:00.72 bash 19718 p0 R+ 0:00.03 ./ps 144 d0 IWs+ 0:00.00 /usr/libexec/getty std.9600 ttyd0 -- Wonderful \hbox (0.80312pt too nice) in paragraph at lines 16--18 Volker Stolz * stolz@i2.informatik.rwth-aachen.de Please use PGP or S/MIME for correspondence! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message