Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2000 07:18:01 -0400
From:      Will Andrews <andrews@technologist.com>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        Will Andrews <will@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ps ps.c
Message-ID:  <20000709071801.A8857@argon.gryphonsoft.com>
In-Reply-To: <xzpya3btx0x.fsf@flood.ping.uio.no>; from des@flood.ping.uio.no on Sun, Jul 09, 2000 at 12:31:42PM %2B0200
References:  <200007080513.WAA01643@freefall.freebsd.org> <xzpya3btx0x.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 09, 2000 at 12:31:42PM +0200, Dag-Erling Smorgrav wrote:
> How many scripts does this break, and are you sure you should have
> MFCed so quickly?

It doesn't break any scripts.  There was no way to tell (in the past) if
a PID passed to ps(1) existed or not; at least, not by testing the exit
code.  They would have to check the output instead.  And if they're
testing whether a PID exists, there's no change.

This bugfix probably increases the portability of shell scripts that
depend on exit codes.  In particular, Netsaint checks the exit code, and
will break on FreeBSD versions prior to these commits.  Since I'm making
a port for Netsaint, I need a working ps(1).

--
Will Andrews <andrewsw@purdue.edu> <will@FreeBSD.org>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


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?20000709071801.A8857>