From owner-freebsd-bugs Sat Mar 16 11:50:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A81237B42F for ; Sat, 16 Mar 2002 11:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2GJo1Y46624; Sat, 16 Mar 2002 11:50:01 -0800 (PST) (envelope-from gnats) Date: Sat, 16 Mar 2002 11:50:01 -0800 (PST) Message-Id: <200203161950.g2GJo1Y46624@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: bin/35929: A small bug in renice Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/35929; it has been noted by GNATS. From: "Crist J. Clark" To: "Alexander S. Usov" Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/35929: A small bug in renice Date: Sat, 16 Mar 2002 11:40:39 -0800 On Fri, Mar 15, 2002 at 11:18:47AM -0800, Alexander S. Usov wrote: > > >Number: 35929 > >Category: bin > >Synopsis: A small bug in renice > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Mar 15 11:20:00 PST 2002 > >Closed-Date: > >Last-Modified: > >Originator: Alexander S. Usov > >Release: 4.5-Stable > >Organization: > ITV > >Environment: > FreeBSD darkini.itv 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 3 17:52:08 EET 2002 > >Description: > renice 10 -j pid works a little strange: > ===%renice 10 -j $$ > 0: old priority 0, new priority 10 > 62742: old priority 0, new priority 10 Nothing too surprising here. '-j' is not a valid flag to renice(8). It is being interpreted as an integer. atoi(3) return a value of 0 for "-j". -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message