=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/v7.local.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/mail/v7.local.c 1997/07/30 06:32:41 1.9 --- src/usr.bin/mail/v7.local.c 1998/05/04 05:37:53 1.10 *************** *** 1,4 **** ! /* $OpenBSD: v7.local.c,v 1.9 1997/07/30 06:32:41 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.10 1998/05/04 05:37:53 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.9 1997/07/30 06:32:41 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.10 1998/05/04 05:37:53 millert Exp $"; #endif #endif /* not lint */ *************** *** 86,93 **** demail() { ! if (value("keep") != NULL || rm(mailname) < 0) ! (void)close(creat(mailname, 0600)); } /* --- 86,93 ---- demail() { ! if (value("keep") != NULL) ! (void)truncate(mailname, 0); } /*