malloc more space for temp file name

Noticed by:	marcel
This commit is contained in:
Kris Kennaway 2000-01-10 20:26:24 +00:00
parent dcca9856c6
commit af98c2e2cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55781

View File

@ -304,7 +304,7 @@ create_file_names()
if (tmpdir == 0) tmpdir = "/tmp";
len = strlen(tmpdir);
i = len + 13;
i = len + 17;
if (len && tmpdir[len-1] != '/')
++i;