Blame SOURCES/at-3.1.12-nowrap.patch

20eab7
diff -up at-3.1.12/at.c.nowrap at-3.1.12/at.c
20eab7
--- at-3.1.12/at.c.nowrap	2010-02-18 14:39:50.125518422 +0100
20eab7
+++ at-3.1.12/at.c	2010-02-22 13:20:03.817150406 +0100
20eab7
@@ -308,10 +308,13 @@ writefile(time_t runtimer, char queue)
20eab7
 	    if (*ap == ' ')
20eab7
 		*ap = '0';
20eab7
 
20eab7
-	if (stat(atfile, &statbuf) != 0)
20eab7
+	/*if (stat(atfile, &statbuf) != 0) {
20eab7
 	    if (errno != ENOENT)
20eab7
 		perr("Cannot access " ATJOB_DIR);
20eab7
-
20eab7
+	} else {
20eab7
+	    perr("atjob file already exists; bailing");
20eab7
+	}
20eab7
+	*/
20eab7
 	/* Create the file. The x bit is only going to be set after it has
20eab7
 	 * been completely written out, to make sure it is not executed in the
20eab7
 	 * meantime.  To make sure they do not get deleted, turn off their r