diff options
author | jkh <jkh@FreeBSD.org> | 1998-11-06 23:50:08 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-11-06 23:50:08 +0000 |
commit | 010392a4c765d6f46145054ba5d6180d2460542a (patch) | |
tree | cda124f2102835277843e3c1257d656817a04d6c /sys/boot | |
parent | 4ab0ef7d7447c3abc0f64545d974e1cc91457094 (diff) | |
download | FreeBSD-src-010392a4c765d6f46145054ba5d6180d2460542a.zip FreeBSD-src-010392a4c765d6f46145054ba5d6180d2460542a.tar.gz |
switch words to default mode.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/ficl/words.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/ficl/words.c b/sys/boot/ficl/words.c index 886b429..1d993a8 100644 --- a/sys/boot/ficl/words.c +++ b/sys/boot/ficl/words.c @@ -4037,7 +4037,7 @@ static void fload(FICL_VM *pVM) CELL id; pFilename->count = stackPopINT32(pVM->pStack); - pFilename->text = stackPopPtr(pVM->pStack); + bcopy(stackPopPtr(pVM->pStack), &pFilename->text, sizeof(char *)); fd = open(pFilename->text, O_RDONLY); if (fd == -1) { @@ -4090,7 +4090,7 @@ static void fexists(FICL_VM *pVM) int fd; pFilename->count = stackPopINT32(pVM->pStack); - pFilename->text = stackPopPtr(pVM->pStack); + bcopy(stackPopPtr(pVM->pStack), &pFilename->text, sizeof(char *)); fd = open(pFilename->text, O_RDONLY); if (fd > 0) { stackPushINT32(pVM->pStack, TRUE); @@ -4283,8 +4283,8 @@ void ficlCompileCore(FICL_DICT *dp) dictAppendWord(dp, "\\", commentLine, FW_IMMEDIATE); /* FreeBSD extention words */ - dictAppendWord(dp, "fload", fload, FW_IMMEDIATE); - dictAppendWord(dp, "fexists", fexists, FW_IMMEDIATE); + dictAppendWord(dp, "fload", fload, FW_DEFAULT); + dictAppendWord(dp, "fexists", fexists, FW_DEFAULT); dictAppendWord(dp, "key", key, FW_DEFAULT); /* |