13 lines
521 B
Diff
13 lines
521 B
Diff
--- torque-2.1.0p0-snap.200604171430/src/scheduler.cc/pbs_sched.c.orig 2006-04-06 23:56:37.000000000 +0200
|
|
+++ torque-2.1.0p0-snap.200604171430/src/scheduler.cc/pbs_sched.c 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) != strlen(log_buffer)+1)
|
|
{
|
|
perror("writing to lockfile");
|
|
|
|
|