On Mon, 22 Apr 2002, Neil Spring wrote: > Package: dpkg > Version: 1.9.20 > Followup-For: Bug #141500 > > The changed behavior of nice(2) is described in #136815, and in > the nice man page: > > NOTES > Note that the routine is documented in SUSv2 to return the > new nice value, while the Linux syscall and (g)libc (ear� > lier than glibc 2.2.4) routines return 0 on success. The > new nice value can be found using getpriority(2). Note > that an implementation in which nice returns the new nice > value can legitimately return -1. To reliably detect an > error, set errno to 0 before the call, and check its value > when nice returns -1. > > The following simple patch implements the "reliably detect" > part above.
Additionally, this 'bug' was caused by a libc change during a freeze. As Wichert already said, this is fixed in HEAD for cvs, but there is no need to fix it for dpkg, as it is libc that is wrong. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

