summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>2001-05-27 16:30:10 +0000
committerdcs <dcs@FreeBSD.org>2001-05-27 16:30:10 +0000
commitc4a3cb36878653ea09d6df9aabbd15fb5419ddec (patch)
tree32f85b3a96d8e7d3be6daabb390eff11243e4b57
parent078241c91db01e26777295d085fb0b95e8c4a4b8 (diff)
downloadFreeBSD-src-c4a3cb36878653ea09d6df9aabbd15fb5419ddec.zip
FreeBSD-src-c4a3cb36878653ea09d6df9aabbd15fb5419ddec.tar.gz
As in with ":", check dictionary space and increase it if necessary before
"create".
-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 73908cc..ed9f087 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;
OpenPOWER on IntegriCloud