Blame SOURCES/at-3.1.12-nowrap.patch

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