From owner-freebsd-bugs Wed Nov 5 07:40:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA16561 for bugs-outgoing; Wed, 5 Nov 1997 07:40:10 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA16539; Wed, 5 Nov 1997 07:40:06 -0800 (PST) (envelope-from gnats) Date: Wed, 5 Nov 1997 07:40:06 -0800 (PST) Message-Id: <199711051540.HAA16539@hub.freebsd.org> To: freebsd-bugs Cc: From: Bill Fenner Subject: Re: bin/4947: ps(1) output is not parsable and -Ortprio doesn't work Reply-To: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/4947; it has been noted by GNATS. From: Bill Fenner To: dada@sbox.tu-graz.ac.at Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/4947: ps(1) output is not parsable and -Ortprio doesn't work Date: Wed, 5 Nov 1997 07:36:52 PST Martin Kammerhofer wrote: >+ default: >+ strncpy(str, "?", 2); I'd do something like "%d:%d", prtp->type, prio (taking care, of course, not to overflow) -- someone someday is going to be *really* frustrated that ps just prints a "?". Bill