Red Hat Bugzilla – Bug 189493
[PATCH] off by one in pbs_sched
Last modified: 2007-11-30 17:11:31 EST
this patch fixes a trivial problem in pbs_sched when counting the number of
chars written to its lock file. This error prevents this daemon from starting up.
2006-04-06 23:56:37.000000000 +0200
2006-04-20 16:52:38.000000000 +0200
@@ -992,7 +992,7 @@
(void)sprintf(log_buffer, "%ld\n", (long)pid);
- if (write(lockfds, log_buffer, strlen(log_buffer)+1) != strlen(log_buffer))
+ if (write(lockfds, log_buffer, strlen(log_buffer)+1) !=
perror("writing to lockfile");
That's impressive. TORQUE has been in FE for 1 day!
I'll get this upstream and probably have a new package tomorrow.
Thanks for the patch!