Date: Wed, 2 May 2001 00:42:27 +0200 From: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk> To: David Malone <dwmalone@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libkvm kvm_proc.c Message-ID: <20010502004226.K17327@bank-pedersen.dk> In-Reply-To: <200105011034.f41AYGQ01813@freefall.freebsd.org>; from dwmalone@FreeBSD.org on Tue, May 01, 2001 at 03:34:16AM -0700 References: <200105011034.f41AYGQ01813@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 01, 2001 at 03:34:16AM -0700, David Malone wrote: > dwmalone 2001/05/01 03:34:16 PDT > > Modified files: > lib/libkvm kvm_proc.c > Log: > Don't give a warning about "proc size mismatch" if no struct were > returned. (This arose on a list about a month ago when someone > found bogus warnings if they used "ps -Uuser_with_no_processes".) Removing the check for size=0 fixes kvm_getprocs in the <user_with_no_processes> case, but unfortunately causes a coredump when the caller requests a nonexisting PID: note% ps -p 1234 Floating exception (core dumped) Don't know how this should be fixed, though. /Niels Chr. -- Niels Christian Bank-Pedersen, NCB1-RIPE. "Hey, are any of you guys out there actually *using* RFC 2549?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010502004226.K17327>