]> git.pld-linux.org Git - packages/at.git/blobdiff - at-typo.patch
- dropped pre-cvs changelog
[packages/at.git] / at-typo.patch
index bbc8905a9cd1a6f54fc23b0836d6511a46f5c867..4a862ad07d3ea1c982411d6e3ad7b6e52a1ccdb8 100644 (file)
@@ -1,5 +1,5 @@
---- at-3.1.7/atd.c.tyop        Thu Feb 10 11:14:31 2000
-+++ at-3.1.7/atd.c     Thu Feb 10 11:14:43 2000
+--- at-3.1.7/atd.c.tyop        Wed Mar  1 14:32:47 2000
++++ at-3.1.7/atd.c     Wed Mar  1 14:34:52 2000
 @@ -247,7 +247,7 @@
             "aborting", jobno, filename);
  
@@ -9,3 +9,37 @@
             filename);
      }
      if ((fflags = fcntl(fd_in, F_GETFD)) < 0)
+@@ -493,6 +493,7 @@
+                * Let's remove the lockfile and reschedule.
+                */
+               strncpy(lock_name, dirent->d_name, sizeof(lock_name));
++              lock_name[sizeof(lock_name)-1] = '\0';
+               lock_name[0] = '=';
+               unlink(lock_name);
+               next_job = now;
+@@ -500,7 +501,7 @@
+           continue;
+       }
+       /* There's a job for later.  Note its execution time if it's
+-       * the earlierst so far.
++       * the earliest so far.
+        */
+       if (run_time > now) {
+           if (next_job > run_time) {
+@@ -518,6 +519,7 @@
+           run_batch++;
+           if (strcmp(batch_name, dirent->d_name) > 0) {
+               strncpy(batch_name, dirent->d_name, sizeof(batch_name));
++              batch_name[sizeof(batch_name)-1] = '\0';
+               batch_uid = buf.st_uid;
+               batch_gid = buf.st_gid;
+               batch_queue = queue;
+@@ -553,7 +555,7 @@
+ int
+ main(int argc, char *argv[])
+ {
+-/* Browse through  ATJOB_DIR, checking all the jobfiles wether they should
++/* Browse through  ATJOB_DIR, checking all the jobfiles whether they should
+  * be executed and or deleted. The queue is coded into the first byte of
+  * the job filename, the date (in minutes since Eon) as a hex number in the
+  * following eight bytes, followed by a dot and a serial number.  A file
This page took 1.025015 seconds and 4 git commands to generate.