Commit Graph

13 Commits

Author SHA1 Message Date
wiz
c8ce18c2b7 Do not remove the spool file if not mail remains, just truncate it
to 0 bytes, as e.g. Solaris-mail or mutt do.
This way we're sure to keep owner/permissions the same as before.
Reviewed by Christos.
2002-03-12 01:17:46 +00:00
wiz
ab85015570 Don't use special null string pointer (NOSTR), just use NULL. 2002-03-04 03:07:25 +00:00
wiz
b127cccc2e ANSIfy, and minimal KNF. 2002-03-02 14:59:35 +00:00
mycroft
55ac0c2da3 const poisoning. 1998-07-26 21:58:46 +00:00
lukem
7c81c8f378 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 05:02:57 +00:00
mikel
254cb6fdc9 fix some potential buffer overflows, and other cleanup. 1997-05-13 06:15:52 +00:00
christos
88b833a7cd - Fix PR/105: Implement dot locking protocol and check return value of flock.
- Fix PR/2247: Don't call unknown users "ubluit". Issue an error message.
- Fix/add prototypes.
- Fix warnings.
- Use POSIX signal mask calls.
- RCSid police.
1996-06-08 19:48:09 +00:00
deraadt
2cb5542f38 4.4-lite, plus our mods 1994-06-29 05:09:04 +00:00
deraadt
0479ea62bc use the value of $MAIL (if set) as the default mailbox (like SunOS)
from christos@deshaw.com (Christos Zoulas)
1994-01-25 08:43:38 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
jtc
1829761419 back out LOGNAME until I have the situation confirmed. 1993-07-28 20:36:17 +00:00
jtc
5b1c27146a When both LOGNAME and USER environment variables are set, favour LOGNAME. 1993-07-28 17:49:22 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00