diff options
author | kris <kris@FreeBSD.org> | 2000-01-10 20:26:24 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-01-10 20:26:24 +0000 |
commit | 98f787026a08e6e7a28e7d36d2929a438aff05bb (patch) | |
tree | cadcd67a8db10768dd24ae6babe86b423c0a6ce9 /usr.bin/yacc | |
parent | adefa8db94e4ad46254e30d02d1d794d688f65e4 (diff) | |
download | FreeBSD-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.c | 2 |
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; |