Package: schedutils Version: 1.3.4-1 Severity: serious Tags: patch, sid, sarge
In the recent up coming glibc-2.3.2.ds1-21, two system call, sched_setaffinity and sched_getaffinity, are changed. New interface needs three argument (OTOH, glibc 2.3.2.ds1-20 has only two arguments). The new upstream schedutils 1.4.0 is already released and it uses new three-argument style system calls. If you plan to dupload schedutils 1.4.0, you rebuild package with glibc 2.3.2.ds1-21 and dupload it. Don't forget to update Build-Depends: libc6 (>= 2.3.2.ds1-21) in debian/control. If you plan to change for the current 1.3.4 and dupload it, please apply my attached patch, and dupload it. Regards, -- gotom diff -Nuar schedutils-1.3.4/debian/changelog schedutils-1.3.4-new/debian/changelog --- schedutils-1.3.4/debian/changelog 2005-04-16 22:17:01.000000000 +0900 +++ schedutils-1.3.4-new/debian/changelog 2005-04-16 22:12:42.000000000 +0900 @@ -1,3 +1,9 @@ +schedutils (1.3.4-2) unstable; urgency=low + + * Update for the recent glibc interface change. + + -- GOTO Masanori <[EMAIL PROTECTED]> Sat, 16 Apr 2005 22:12:09 +0900 + schedutils (1.3.4-1) unstable; urgency=low * New upstream release. diff -Nuar schedutils-1.3.4/debian/control schedutils-1.3.4-new/debian/control --- schedutils-1.3.4/debian/control 2005-04-16 22:17:01.000000000 +0900 +++ schedutils-1.3.4-new/debian/control 2005-04-16 22:12:03.000000000 +0900 @@ -2,7 +2,7 @@ Section: utils Priority: optional Maintainer: Guus Sliepen <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 3.0.0), libc6-dev (>= 2.3) [!ia64 !alpha], libc6.1-dev (>= 2.3) [ia64 alpha] +Build-Depends: debhelper (>> 3.0.0), libc6-dev (>= 2.3.2.ds1-21) [!ia64 !alpha], libc6.1-dev (>= 2.3.2.ds1-21) [ia64 alpha] Standards-Version: 3.6.0 Package: schedutils diff -Nuar schedutils-1.3.4/taskset.c schedutils-1.3.4-new/taskset.c --- schedutils-1.3.4/taskset.c 2004-03-24 05:58:03.000000000 +0900 +++ schedutils-1.3.4-new/taskset.c 2005-04-12 09:42:43.000000000 +0900 @@ -130,7 +130,7 @@ if (pid) { unsigned long mask = 0; - if (sched_getaffinity(pid, &cur_mask) < 0) { + if (sched_getaffinity(pid, sizeof (cur_mask), &cur_mask) < 0) { perror("sched_getaffinity"); fprintf(stderr, "failed to get pid %d's affinity\n", pid); @@ -152,13 +152,13 @@ ulong_to_cpu_set(the_mask, &new_mask); - if (sched_setaffinity(pid, &new_mask)) { + if (sched_setaffinity(pid, sizeof (new_mask), &new_mask)) { perror("sched_setaffinity"); fprintf(stderr, "failed to set pid %d's affinity.\n", pid); return 1; } - if (sched_getaffinity(pid, &cur_mask) < 0) { + if (sched_getaffinity(pid, sizeof (cur_mask), &cur_mask) < 0) { perror("sched_setaffinity"); fprintf(stderr, "failed to get pid %d's affinity.\n", pid); return 1; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]