Blame SOURCES/at-3.1.12-nowrap.patch

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