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
install with -s
[unix-history]
/
usr
/
src
/
usr.bin
/
mail
/
list.c
diff --git
a/usr/src/usr.bin/mail/list.c
b/usr/src/usr.bin/mail/list.c
index
06a5cb3
..
fa9c7c8
100644
(file)
--- a/
usr/src/usr.bin/mail/list.c
+++ b/
usr/src/usr.bin/mail/list.c
@@
-1,4
+1,6
@@
-#
+#ifndef lint
+static char sccsid[] = "@(#)list.c 2.3 (Berkeley) %G%";
+#endif
#include "rcv.h"
#include <ctype.h>
#include "rcv.h"
#include <ctype.h>
@@
-9,8
+11,6
@@
* Message list handling.
*/
* Message list handling.
*/
-static char *SccsId = "@(#)list.c 1.5 %G%";
-
/*
* Convert the user string of message numbers and
* store the numbers into vector.
/*
* Convert the user string of message numbers and
* store the numbers into vector.
@@
-107,7
+107,8
@@
number:
if (check(lexnumber, f))
return(-1);
for (i = beg; i <= lexnumber; i++)
if (check(lexnumber, f))
return(-1);
for (i = beg; i <= lexnumber; i++)
- mark(i);
+ if ((message[i - 1].m_flag & MDELETED) == f)
+ mark(i);
beg = 0;
break;
}
beg = 0;
break;
}