Page MenuHomeFreeBSD

D8150.id21047.diff
No OneTemporary

D8150.id21047.diff

Index: sys/boot/common/interp_forth.c
===================================================================
--- sys/boot/common/interp_forth.c
+++ sys/boot/common/interp_forth.c
@@ -63,6 +63,7 @@
FICL_SYSTEM *bf_sys;
FICL_VM *bf_vm;
+FICL_WORD *pInterp;
/*
* Shim for taking commands from BF and passing them out to 'standard'
@@ -280,6 +281,8 @@
ficlSetEnv(bf_sys, "loader_version",
(bootprog_rev[0] - '0') * 10 + (bootprog_rev[2] - '0'));
+ pInterp = ficlLookup(bf_sys, "interpret");
+
/* try to load and run init file if present */
if (rc == NULL)
rc = "/boot/boot.4th";
@@ -290,6 +293,9 @@
close(fd);
}
}
+
+ /* Do this again, so that interpret can be redefined. */
+ pInterp = ficlLookup(bf_sys, "interpret");
}
/*

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 12, 7:38 PM (2 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25227789
Default Alt Text
D8150.id21047.diff (813 B)

Event Timeline