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
changed delete to touch message and clear preserve and mbox bits
[unix-history]
/
usr
/
src
/
usr.bin
/
mail
/
cmd2.c
diff --git
a/usr/src/usr.bin/mail/cmd2.c
b/usr/src/usr.bin/mail/cmd2.c
index
6b49b78
..
9b8135e
100644
(file)
--- a/
usr/src/usr.bin/mail/cmd2.c
+++ b/
usr/src/usr.bin/mail/cmd2.c
@@
-9,7
+9,7
@@
* More user commands.
*/
* More user commands.
*/
-static char *SccsId = "@(#)cmd2.c 1.
3
%G%";
+static char *SccsId = "@(#)cmd2.c 1.
4
%G%";
/*
* If any arguments were given, go to the next applicable argument
/*
* If any arguments were given, go to the next applicable argument
@@
-311,8
+311,8
@@
delm(msgvec)
mesg = *ip;
touch(mesg);
mp = &message[mesg-1];
mesg = *ip;
touch(mesg);
mp = &message[mesg-1];
- mp->m_flag |= MDELETED;
- mp->m_flag &= ~(MPRESERVE|MSAVED);
+ mp->m_flag |= MDELETED
|MTOUCH
;
+ mp->m_flag &= ~(MPRESERVE|MSAVED
|MBOX
);
last = mesg;
}
if (last != NULL) {
last = mesg;
}
if (last != NULL) {