On 11/24/23 9:40 PM, Emanuele Torre wrote:
Many of the loadable builtins that set variables in the examples/loadables directory don't work anymore because they still want to call legal_identifier instead of valid_identifier.
I haven't decided yet whether to use lib/sh/compat.c, in which case I'll add a call to init_compat() into main() so the linker links that file into libsh.a, or use some other mechanism like creating libloadables.a. The former is better for third-party loadable builtins in that it doesn't require rebuilding; the latter is a more general approach that requires more changes to the loadables build process. None of this stuff has been released yet anyway. In any event, thanks for pointing out where the examples still need to change. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/