projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added in nifty changes from branch to make easier to compile
[unix-history]
/
usr
/
src
/
usr.bin
/
mail
/
v7.local.c
diff --git
a/usr/src/usr.bin/mail/v7.local.c
b/usr/src/usr.bin/mail/v7.local.c
index
84b1c6c
..
7a72a3f
100644
(file)
--- a/
usr/src/usr.bin/mail/v7.local.c
+++ b/
usr/src/usr.bin/mail/v7.local.c
@@
-10,7
+10,7
@@
#include "rcv.h"
#include "rcv.h"
-static char *SccsId = "@(#)v7.local.c
1.2
%G%";
+static char *SccsId = "@(#)v7.local.c
2.1
%G%";
/*
* Locate the user's mailbox file (ie, the place where new, unread
/*
* Locate the user's mailbox file (ie, the place where new, unread
@@
-36,7
+36,10
@@
findmail()
demail()
{
demail()
{
- remove(mailname);
+ if (value("keep") != NOSTR)
+ close(creat(mailname, 0666));
+ else
+ remove(mailname);
}
/*
}
/*