1 diff -ruN ../at-3.1.8.orig/at.c ./at.c
2 --- ../at-3.1.8.orig/at.c Mon Jan 14 17:59:08 2002
3 +++ ./at.c Mon Jan 14 17:59:48 2002
5 * bit. Yes, this is a kluge.
7 cmask = umask(S_IRUSR | S_IWUSR | S_IXUSR);
8 - if ((fd = open(atfile, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR)) == -1)
9 + if ((fd = open(atfile, O_CREAT | O_EXCL | O_TRUNC | O_WRONLY, S_IRUSR)) == -1)
10 perr("Cannot create atjob file %.500s", atfile);
12 if ((fd2 = dup(fd)) < 0)