From owner-cvs-src@FreeBSD.ORG Mon May 31 20:01:51 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B0A716A4CE; Mon, 31 May 2004 20:01:51 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C50243D45; Mon, 31 May 2004 20:01:51 -0700 (PDT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5131peR026378; Mon, 31 May 2004 20:01:51 -0700 (PDT) (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5131p0H026376; Mon, 31 May 2004 20:01:51 -0700 (PDT) (envelope-from gad) Message-Id: <200406010301.i5131p0H026376@repoman.freebsd.org> From: Garance A Drosehn Date: Mon, 31 May 2004 20:01:51 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/ps ps.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 03:01:51 -0000 gad 2004/05/31 20:01:51 PDT FreeBSD src repository Modified files: bin/ps ps.c Log: Fix so `ps' catches and complains about null-values specified for a process id, instead of using pid==0. Ie, `ps -p 12,' and `ps -p ,12' are now errors (instead of being treated like `ps -p 0 -p 12'). Noticed by: Cyrille Lefevre on freebsd-arch Revision Changes Path 1.94 +8 -3 src/bin/ps/ps.c