Store temporary files in /var/tmp instead /tmp. This should avoid

a possible disk overflow for enormous large mails.
Submitted by:	grog
This commit is contained in:
Wolfram Schneider 1997-10-11 22:05:44 +00:00
parent 4ddfeabd8f
commit 77a87957c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30313
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mail.local.8 8.2 (Berkeley) 12/11/93
.\" $Id$
.\" $Id: mail.local.8,v 1.6 1997/02/22 14:21:48 peter Exp $
.\"
.Dd December 11, 1993
.Dt MAIL.LOCAL 8
@ -88,8 +88,8 @@ utility exits 0 on success, and >0 if an error occurs.
Used to set the appropriate time zone on the timestamp.
.El
.Sh FILES
.Bl -tag -width /tmp/local.XXXXXX -compact
.It Pa /tmp/local.XXXXXX
.Bl -tag -width /var/tmp/local.XXXXXX -compact
.It Pa /var/tmp/local.XXXXXX
temporary files
.It Pa /var/mail/user
user's mailbox directory

View File

@ -34,4 +34,4 @@
*/
#include <paths.h>
#define _PATH_LOCTMP "/tmp/local.XXXXXX"
#define _PATH_LOCTMP "/var/tmp/local.XXXXXX"