=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/v7.local.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/mail/v7.local.c 1998/06/12 17:15:24 1.11 --- src/usr.bin/mail/v7.local.c 1998/06/12 17:51:50 1.12 *************** *** 1,4 **** ! /* $OpenBSD: v7.local.c,v 1.11 1998/06/12 17:15:24 millert Exp $ */ /* $NetBSD: v7.local.c,v 1.8 1997/05/13 06:15:58 mikel Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: v7.local.c,v 1.12 1998/06/12 17:51:50 millert Exp $ */ /* $NetBSD: v7.local.c,v 1.8 1997/05/13 06:15:58 mikel Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)v7.local.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: v7.local.c,v 1.11 1998/06/12 17:15:24 millert Exp $"; #endif #endif /* not lint */ --- 38,44 ---- #if 0 static char sccsid[] = "@(#)v7.local.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: v7.local.c,v 1.12 1998/06/12 17:51:50 millert Exp $"; #endif #endif /* not lint */ *************** *** 86,92 **** demail() { ! if (value("keep") != NULL || truncate(mailname, 0) == -1) (void)close(creat(mailname, 0600)); } --- 86,92 ---- demail() { ! if (value("keep") != NULL || rm(mailname) < 0) (void)close(creat(mailname, 0600)); }