aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ficl/ficl.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-11-05 07:27:55 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-11-05 07:27:55 +0000
commit5eb1c6c1695b8b981df7c8159227cff8ca5020ea (patch)
tree38505865ed093356bd73cbf0de8b6f6adb874055 /sys/boot/ficl/ficl.c
parentdd2461309f576f97d21e141691f44e5b39014a56 (diff)
downloadsrc-5eb1c6c1695b8b981df7c8159227cff8ca5020ea.tar.gz
src-5eb1c6c1695b8b981df7c8159227cff8ca5020ea.zip
1. rebuild all elements of testmain properly for safety.
2. add fload and key prims for doing simple file and terminal I/O, respectively
Notes
Notes: svn path=/head/; revision=40927
Diffstat (limited to 'sys/boot/ficl/ficl.c')
-rw-r--r--sys/boot/ficl/ficl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/ficl/ficl.c b/sys/boot/ficl/ficl.c
index 6bf6503082e6..7322b812576f 100644
--- a/sys/boot/ficl/ficl.c
+++ b/sys/boot/ficl/ficl.c
@@ -220,10 +220,12 @@ int ficlExec(FICL_VM *pVM, char *pText)
except = VM_OUTOFTEXT;
break;
+#ifdef TESTMAIN
case VM_OUTOFTEXT:
if ((pVM->state != COMPILE) && (pVM->sourceID.i == 0))
ficlTextOut(pVM, FICL_PROMPT, 0);
break;
+#endif
case VM_USEREXIT:
break;