summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/temp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Fix `necesary' typos; Alexander Yurchenkomillert2002-01-241-3/+3
| | | | | Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
* o ANSIfymillert2001-11-211-6/+6
| | | | | | | | | o Style nits o Use const to silent stupid -Wall warnings o strnc{py,at} -> strlc{py,at} o Use strpbrk() instead of homegrown anyof() o Use NULL instead of #defines with 0 cast to a pointer This still could use a proper audit
* $HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeromillert2000-08-021-6/+9
|
* NetBSD changes (mostly comsmetic):millert1997-11-141-4/+4
| | | | | | | | replace panic() with calls to err()/errx() use S_IS* instead of doing by hand with S_IF*. Use TIMESPEC_TO_TIMEVAL() and gettimeofday instead of time(2) Use _POSIX_VDISABLE, not 0 Kill register
* tempnam(3) goes bye bye.millert1997-07-241-7/+2
|
* Replace 3 tempnam()'s with mkstemp. The two left look tricky.millert1997-07-241-8/+2
|
* NOSTR -> NULLmillert1997-07-141-5/+5
| | | | Use sigsetjmp/siglongjmp instead of sigjmp/longjmp for portability.
* Merge in NetBSD and 4.4BSD-lite2 changes as well as some of my own.millert1997-07-131-8/+4
| | | | | | | | - 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
* Use ``mail.local -H'' to do dot locking so we can have mode 755 mailmillert1997-03-291-3/+11
| | | | | spool, change an occurrence of tempnam() to mkstemp(), change some longs and shorts to ints. Mail is now usable again.
* Ignore $HOME if > MAXPATHLENmillert1996-10-281-3/+3
|
* _PATH_TMP -> _PATH_TMPFILE; avoid /tmp//fooXXXX where possible tooderaadt1996-09-161-7/+7
|
* from christos;deraadt1996-06-111-7/+10
| | | | | | | | - 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.
* initial import of NetBSD treederaadt1995-10-181-0/+97