SCCS-vsn: usr.bin/mail/quit.c 5.13
SCCS-vsn: usr.bin/mail/temp.c 5.13
-static char sccsid[] = "@(#)quit.c 5.12 (Berkeley) %G%";
+static char sccsid[] = "@(#)quit.c 5.13 (Berkeley) %G%";
#endif /* not lint */
#include "rcv.h"
#endif /* not lint */
#include "rcv.h"
ibuf = NULL;
if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
strcpy(tempname, _PATH_TMP);
ibuf = NULL;
if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
strcpy(tempname, _PATH_TMP);
- strcat(tempname, "/mboxXXXXXX");
+ strcat(tempname, "mboxXXXXXX");
mktemp(tempname);
if ((obuf = fopen(tempname, "w")) == NULL) {
perror(tempname);
mktemp(tempname);
if ((obuf = fopen(tempname, "w")) == NULL) {
perror(tempname);
-static char sccsid[] = "@(#)temp.c 5.12 (Berkeley) %G%";
+static char sccsid[] = "@(#)temp.c 5.13 (Berkeley) %G%";
#endif /* not lint */
#include "rcv.h"
#endif /* not lint */
#include "rcv.h"
register char *cp;
strcpy(tempMail, _PATH_TMP);
register char *cp;
strcpy(tempMail, _PATH_TMP);
- mktemp(strcat(tempMail, "/RsXXXXXX"));
+ mktemp(strcat(tempMail, "RsXXXXXX"));
strcpy(tempResid, _PATH_TMP);
strcpy(tempResid, _PATH_TMP);
- mktemp(strcat(tempResid, "/RqXXXXXX"));
+ mktemp(strcat(tempResid, "RqXXXXXX"));
strcpy(tempQuit, _PATH_TMP);
strcpy(tempQuit, _PATH_TMP);
- mktemp(strcat(tempQuit, "/RmXXXXXX"));
+ mktemp(strcat(tempQuit, "RmXXXXXX"));
strcpy(tempEdit, _PATH_TMP);
strcpy(tempEdit, _PATH_TMP);
- mktemp(strcat(tempEdit, "/ReXXXXXX"));
+ mktemp(strcat(tempEdit, "ReXXXXXX"));
strcpy(tempSet, _PATH_TMP);
strcpy(tempSet, _PATH_TMP);
- mktemp(strcat(tempSet, "/RxXXXXXX"));
+ mktemp(strcat(tempSet, "RxXXXXXX"));
strcpy(tempMesg, _PATH_TMP);
strcpy(tempMesg, _PATH_TMP);
- mktemp(strcat(tempMesg, "/RxXXXXXX"));
+ mktemp(strcat(tempMesg, "RxXXXXXX"));
/*
* It's okay to call savestr in here because main will
/*
* It's okay to call savestr in here because main will