[PATCH] Fix nice
Jakub Jelinek
jakub@redhat.com
Thu Feb 28 14:15:00 GMT 2002
Hi!
2001-06-04 patch for nice apparently changed nothing at all on linux, since
sysdeps/unix/nice.c which was patched is overridden in
sysdeps/unix/sysv/syscalls.list (nice), thus nice still returns 0 on
success, not the actual new priority.
Fix below. I have briefly tested that it works as expected on ia32 linux.
2002-02-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/nice.c: New file.
--- libc/sysdeps/unix/sysv/linux/nice.c.jj Thu Feb 28 23:12:51 2002
+++ libc/sysdeps/unix/sysv/linux/nice.c Thu Feb 28 23:15:06 2002
@@ -0,0 +1 @@
+#include <sysdeps/unix/nice.c>
Jakub
More information about the Libc-hacker
mailing list