From owner-cvs-src@FreeBSD.ORG Sun Nov 14 22:58:46 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 3836D16A4CE; Sun, 14 Nov 2004 22:58:46 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA27743D53; Sun, 14 Nov 2004 22:58:45 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 89A87ACC62; Sun, 14 Nov 2004 23:58:44 +0100 (CET) Date: Sun, 14 Nov 2004 23:58:44 +0100 From: Pawel Jakub Dawidek To: "Christian S.J. Peron" Message-ID: <20041114225844.GS8120@darkness.comp.waw.pl> References: <200411141930.iAEJU2I1007666@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UaNe/QI5+zQ8JiGR" Content-Disposition: inline In-Reply-To: <200411141930.iAEJU2I1007666@repoman.freebsd.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: 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: Sun, 14 Nov 2004 22:58:46 -0000 --UaNe/QI5+zQ8JiGR Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 14, 2004 at 07:30:02PM +0000, Christian S.J. Peron wrote: +> csjp 2004-11-14 19:30:02 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> bin/ps ps.c=20 +> Log: +> Currently if the user specifies -e and procfs is not mounted on /proc, +> printing of the process environment will fail silently. +> =20 +> -define a function which will check to see if procfs is mounted on /pr= oc +> -Implement this test if the user specified -e +> -If procfs is not mounted on /proc and -e was specified, print a warni= ng. +> informing the user that procfs(5) is required. Hmm, I think I've a fix somewhere to get environment variables not from procfs... Ah yes, p4:pjd_ps-e. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --UaNe/QI5+zQ8JiGR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBl+MkForvXbEpPzQRAvXuAKDI8u3i7hfPBy+1nI0hLSA8DEhX0gCgojXG ysmCdBRpoG7irr+j2eKkNOc= =gpCV -----END PGP SIGNATURE----- --UaNe/QI5+zQ8JiGR--