Package: at
Version: 3.1.10.2
Christoph
--
[email protected] | http://www.df7cb.de/
--- Begin Message ---
Hi Christoph
Thanks a lot for pushing my previous patch to BTS ! I have another patch
for atd:
I became this 'at' patch from Jan Engelhardt <[email protected]> on
our bugzilla and I was asked also to send this patch to upstream.
In short :
a task can never be scheduled at the normal nice level 0 or any odd
(1,3,5 ...) level, this patch fixes this and implicitly changes the
meaning of the queue names ('a' is not 1 anymore, but 0), but a<b still
holds true.
fix-nice.diff included
Could you please push also this request to BTS ?
Thanks
Michal
--- at-3.1.10.2/atd.c.orig
+++ at-3.1.10.2/atd.c
@@ -425,7 +425,7 @@
PRIV_START
- nice((tolower((int) queue) - 'a' + 1) * 2);
+ nice((tolower((int) queue) - 'a' ));
if (initgroups(pentry->pw_name, pentry->pw_gid))
perr("Cannot delete saved userids");
--- End Message ---