aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mail/temp.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
| | | | Notes: svn path=/head/; revision=99112
* Cleanup mail(1)'s varying styles by converting to using style(9).Mike Heffner2001-05-271-5/+5
| | | | | | | | | | | | Also take a stab at cleaning up BDECFLAGS and convert all uses of NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to get diffs somewhat closer to OpenBSD/NetBSD. There are no functional changes however. Reviewed by: nra (visual inspection) Notes: svn path=/head/; revision=77274
* Merge various changes from OpenBSD and NetBSD.Mike Heffner2001-03-251-50/+19
| | | | | | | | | | | | | | | | | | | o remove panic() in favor of err(3) and use err(3) functions consistently throughout o use stat(2)'s S_IS* macros rather than S_IF* o [r]index -> str[r]chr o convert some static buffers to dynamic ones o use real tempfiles rather than reopening the same templates o rename some functions that clash with libc o convert wait_status from union to int and use wait(2) status macros o fix multiple potential buffer overflows o fix a few comments o add $FreeBSD$ Reviewed by: nra, nectar (earlier version) Notes: svn path=/head/; revision=74769
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Fixed gross breakage in previous commit. The malloc sizes for theBruce Evans1998-10-101-12/+13
| | | | | | | | | | | | | | temporary file names were uninitialized if TMPDIR was set and 1 too small otherwise. Fixed style bugs in previous commit. Fixed missing checks for malloc failure in previous commit. Report malloc failure consistently, at least in temp.c. Notes: svn path=/head/; revision=40187
* PR: bin/8250Peter Hawkins1998-10-101-6/+15
| | | | | | | protect against buffer overruns in mail temporary files. Notes: svn path=/head/; revision=40171
* Use err(3).Philippe Charnier1997-07-241-5/+7
| | | | Notes: svn path=/head/; revision=27643
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8874
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+111
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590