summaryrefslogtreecommitdiff
path: root/usr.bin/mail/v7.local.c
AgeCommit message (Collapse)Author
1998-06-12Don't call truncate() directly; have rm() do it if we get EPERM on unlink()Todd C. Miller
In popen.c, findchild() may return NULL so catch that case.
1998-06-12Properly delete messages that the user has deleted in his/her spool.Todd C. Miller
I fudged up the logic when I replaced an unlink with a truncate.
1998-05-04Never remove a mail spool, as we may not have proper prics, just truncate. ↵Todd C. Miller
Also block signals in a few critical areas
1997-07-30Fix one possible oflow (not exploitable) and do a wee bit of KNF.Todd C. Miller
Much more remains to be done.
1997-07-14NOSTR -> NULLTodd C. Miller
Use sigsetjmp/siglongjmp instead of sigjmp/longjmp for portability.
1997-07-13Merge in NetBSD and 4.4BSD-lite2 changes as well as some of my own.Todd C. Miller
- handle long lines safely (from NetBSD) - use puts/fputs and putchar/putc when it makes sense - use err/errx and warn/warnx when it makes sense - make return() and sizeof() style consisten - some more buffer safety
1997-06-16Use buflen, not sizeof(buf) as buf is a pointer.Todd C. Miller
1997-06-02buflen != sizeof (char *)dm
1997-05-30overflows aboundTheo de Raadt
1996-10-26honor $LOGNAMETodd C. Miller
1996-06-11from christos;Theo de Raadt
- 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.
1995-10-18initial import of NetBSD treeTheo de Raadt