On 5/2/22 3:23 PM, Robert E. Griffith wrote:
"execute_cmd.h" is not listed in the INSTALLED_HEADERS macro which determines which headers are included for the install-headers target.
Yes, builtin commands are generally the target of execution, not things that execute other builtins or shell functions. When builtins execute other commands, it's either something like eval/command/source/exec or the jobs -x/fc type of transform-and-execute.
Is it problematic for a loadable builtin to execute shell functions or is it maybe an oversight that that header is not included? If I build against the full source it appears to work fine but I wonder if there are edge cases that cause problems.
It's not necessarily an oversight, just not something that builtin commands generally do. What's your use case? -- ``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/