History log of /freebsd-head/stand/common/install.c
Revision Date Author Comments
450f8da6d518a8b9f577ae5ff5616143d1bdc908 31-Jan-2018 imp <imp@FreeBSD.org> Break out the interpreters (simple and forth) w/o ifdefs. This is
akin to what Pedro Souza and Wojciech Koszek did in the lua GSoC with
interp.h, interp_simple.c and changes to interp.c and interp_forth.c,
but completely redone from scratch.

This effectively restores the spirit of r326712 (my first attempt to
bring in Pedro's and Wojciech's work) updated for new requirements
that had silently broke their original work. This change also differs
by using fixed function names instead of function pointers to simply
things. Only one interpreter at a time may be compiled in.

Also of note: we take a mutable string, pass it in via a const char *
pointer into intrp_forth's interp_run(). We then cast away the const
to pass into ficlExec since ficl would require extensive changes to
properly const-poison. See Sections and 6.7.3 of C11 standard
noting it's only UB if you modify a const object through a non-const
pointer, but not char [] -> const char * -> char * as here.
433bd38e3a0349f9f89f9d54594172c75b002b74 14-Nov-2017 imp <imp@FreeBSD.org> Move sys/boot to stand. Fix all references to new location

Sponsored by: Netflix