From owner-freebsd-stable@FreeBSD.ORG Wed Apr 5 17:49:39 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D642116A422 for ; Wed, 5 Apr 2006 17:49:39 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp5.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AB7943D46 for ; Wed, 5 Apr 2006 17:49:38 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp5.server.rpi.edu (8.13.1/8.13.1) with ESMTP id k35HnaKc019552; Wed, 5 Apr 2006 13:49:37 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <20060405161444.GJ1375@deviant.kiev.zoral.com.ua> References: <4433E269.3030104@protected-networks.net> <20060405161444.GJ1375@deviant.kiev.zoral.com.ua> Date: Wed, 5 Apr 2006 13:49:35 -0500 To: Kostik Belousov , Michael Butler From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Cc: stable@FreeBSD.org Subject: Re: something changed with 'ps' ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 17:49:39 -0000 At 7:14 PM +0300 4/5/06, Kostik Belousov wrote: >On Wed, Apr 05, 2006 at 11:29:45AM -0400, Michael Butler wrote: > > > > Removing 'pcpu' stops it from dumping core, > >This is result of MFC of rev. 1.73, 1.74 of bin/ps/keyword.c. >Try the following fix: > >Index: bin/ps/keyword.c >============================ > hp = strchr(p, '='); > if (hp) > *hp++ = '\0'; >+ else >+ hp = p; I have committed this change to -current. I'll see about getting it into the stable branch asap. Thanks for catching this. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA