Make pkg_install use /var/tmp instead of /tmp

Suggested by:	hsu
This commit is contained in:
Jordan K. Hubbard 1995-02-15 03:48:13 +00:00
parent efefea024a
commit 6fc1110b71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6418

View File

@ -1,5 +1,5 @@
#ifndef lint
static const char *rcsid = "$Id: pen.c,v 1.6 1994/10/14 05:42:24 jkh Exp $";
static const char *rcsid = "$Id: pen.c,v 1.7 1994/10/14 05:56:15 jkh Exp $";
#endif
/*
@ -45,7 +45,7 @@ make_playpen(char *pen, size_t sz)
if ((cp = getenv("TMPDIR")) != NULL)
sprintf(Pen, "%s/instmp.XXXXXX", cp);
else
strcpy(Pen, "/tmp/instmp.XXXXXX");
strcpy(Pen, "/var/tmp/instmp.XXXXXX");
}
else
strcpy(Pen, pen);