bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Many of the example loadable builtins don't work anymore


From: Chet Ramey
Subject: Re: Many of the example loadable builtins don't work anymore
Date: Sat, 25 Nov 2023 13:20:55 -0500
User-agent: Mozilla Thunderbird

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    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]