summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-01-10 20:26:24 +0000
committerkris <kris@FreeBSD.org>2000-01-10 20:26:24 +0000
commit98f787026a08e6e7a28e7d36d2929a438aff05bb (patch)
treecadcd67a8db10768dd24ae6babe86b423c0a6ce9 /usr.bin/yacc
parentadefa8db94e4ad46254e30d02d1d794d688f65e4 (diff)
downloadFreeBSD-src-98f787026a08e6e7a28e7d36d2929a438aff05bb.zip
FreeBSD-src-98f787026a08e6e7a28e7d36d2929a438aff05bb.tar.gz
malloc more space for temp file name
Noticed by: marcel
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r--usr.bin/yacc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/yacc/main.c b/usr.bin/yacc/main.c
index e071c95..f26a38b 100644
--- a/usr.bin/yacc/main.c
+++ b/usr.bin/yacc/main.c
@@ -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;
OpenPOWER on IntegriCloud