Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 23:06:15 -0700
From:      Samuel J.Greear <dragonk@evilcode.net>
To:        Mike Barcroft <mike@freebsd.org>
Cc:        FreeBSD-standards@freebsd.org
Subject:   Re: renice
Message-ID:  <20011212060957.000DA20FAB@ns1.infowest.com>
In-Reply-To: <20011212004728.Y1956@espresso.q9media.com>
References:  <001201c182ac$7357e350$0401a8c0@tequila> <20011212014429.2775220F31@ns1.infowest.com> <20011212004728.Y1956@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 11 December 2001 10:47 pm, Mike Barcroft wrote:
> Samuel J . Greear <dragonk@evilcode.net> writes:
> > http://cvs.evilbsd.org/cgi-bin/cvsweb.cgi/evilbsd/usr.bin/renice/renice.c
> >?rev=1.2
> >
> > I've done this.   It's compatible with the current behavior, as well as
> > accepting -n (just strips the -n if it exists).    I also added an -a
> > option, which allows you to renice multiple processes matching a name,
> > similar to killall.
>
> It would be inadvisable to even use this as a reference.  style(9) has
> been completely distroyed between revision 1.1 and 1.2.  Added to
> that, the only functionality changes were combined with the
> destylification to culminate into one truly undesirable delta.  Also,
> the renice.c file is missing a few revisions made in FreeBSD.
>
> It looks like NetBSD has added this functionality already, without
> making hundreds of style mistakes. :)  If necessary, we could borrow
> their code, but I suspect the change will be trivial enough as to not
> require a reference. :)
>
> Best regards,
> Mike Barcroft


If it looked ok otherwise it would take me all of 2 minutes to re-style(9)-ize
it.   This was against -STABLE, so no doubt it will have missed a change or
two.   -n is something of a 2-line change.    And this is exactly why I don't
speak up very often.

Sam


>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-standards" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011212060957.000DA20FAB>