Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135676086
D8150.id21047.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
813 B
Referenced Files
None
Subscribers
None
D8150.id21047.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8150: pInterp is no longer needed
Attached
Detach File
Event Timeline
Log In to Comment