|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
CVS: cvs.openbsd.org: src
From: Todd C. Miller (millert
cvs.openbsd.org)
Date: Mon May 19 2003 - 15:11:05 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: millert
cvs.openbsd.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.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]