aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ficl
diff options
context:
space:
mode:
authorDaniel C. Sobral <dcs@FreeBSD.org>2001-05-27 16:30:10 +0000
committerDaniel C. Sobral <dcs@FreeBSD.org>2001-05-27 16:30:10 +0000
commit66bd171e5f582a4a8b0e9230866979c1ffeffd3b (patch)
treeab3e4c3b40dcdd4e9cc84a725db277795e81677f /sys/boot/ficl
parent96fc36290a6e8555a59d0e9731bbb2e7d874ac85 (diff)
downloadsrc-66bd171e5f582a4a8b0e9230866979c1ffeffd3b.tar.gz
src-66bd171e5f582a4a8b0e9230866979c1ffeffd3b.zip
As in with ":", check dictionary space and increase it if necessary before
"create".
Notes
Notes: svn path=/head/; revision=77268
Diffstat (limited to 'sys/boot/ficl')
-rw-r--r--sys/boot/ficl/words.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/ficl/words.c b/sys/boot/ficl/words.c
index 73908cccdfbf..ed9f087b24fb 100644
--- a/sys/boot/ficl/words.c
+++ b/sys/boot/ficl/words.c
@@ -2306,6 +2306,8 @@ static void create(FICL_VM *pVM)
FICL_DICT *dp = ficlGetDict();
STRINGINFO si = vmGetWord(pVM);
+ dictCheckThreshold(dp);
+
dictAppendWord2(dp, si, createParen, FW_DEFAULT);
dictAllotCells(dp, 1);
return;