summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-24 19:42:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-24 19:42:04 +0000
commit525ce5a2b4f8729e63147211f006f764522ee5c4 (patch)
tree2fa74a6289c42c7a48af10f0d9ee6438ffff6382 /libexec
parentc06e39168de379418a42ed5ab6fdacf64507f55f (diff)
comment on why this mktemp use is safe
Diffstat (limited to 'libexec')
-rw-r--r--libexec/mail.local/mail.local.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/mail.local/mail.local.c b/libexec/mail.local/mail.local.c
index 28386905258..6fde3c16986 100644
--- a/libexec/mail.local/mail.local.c
+++ b/libexec/mail.local/mail.local.c
@@ -39,7 +39,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)mail.local.c 5.6 (Berkeley) 6/19/91";*/
-static char rcsid[] = "$Id: mail.local.c,v 1.8 1996/10/16 06:30:56 millert Exp $";
+static char rcsid[] = "$Id: mail.local.c,v 1.9 1996/12/24 19:42:03 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -234,6 +234,7 @@ baditem(path)
if (rename(path, npath) != -1)
err(NOTFATAL, "nasty spool item %s renamed to %s",
path, npath);
+ /* XXX if we fail to rename, another attempt will happen later */
}
char lpath[MAXPATHLEN];