[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/05/19 14:11:05

Modified files:
	lib/libc/gen   : nice.c 

Log message:
Make sure our return value is withing the range 20 - -20 (aka NZERO - -NZERO).
We could use an extra call to getpriority() instead but it's faster to
just do the bounds check in userland.



Visit your host, monkey.org