Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
CVS: cvs.openbsd.org: src
From: Todd C. Miller (millertcvs.openbsd.org)
Date: Mon May 19 2003 - 15:11:05 CDT
Module name: src
Changes by: millertcvs.openbsd.org 2003/05/19 14:11:05
lib/libc/gen : nice.c
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.