bug-bash
[Top][All Lists]
Advanced

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

Re: execute_cmd.h is not included in installed headers


From: Chet Ramey
Subject: Re: execute_cmd.h is not included in installed headers
Date: Mon, 2 May 2022 15:31:11 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

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



reply via email to

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