Changes between Initial Version and Version 1 of Ticket #4549, comment 4


Ignore:
Timestamp:
06/20/24 16:25:58 (5 months ago)
Author:
akinomyoga
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4549, comment 4

    initial v1  
    2020Technically, a user can specify `CPPFLAGS=-DDEFAULT_LOADABLE_BUILTINS_PATH="..."`, so that the path is directly embedded in the binary file. However, a shell program distributed to normal users wouldn't want to require its users to build their Bash from the source just for itself. The users will attribute the problem to the shell program if it's not working with the normal builds of Bash started in Midnight Commander. This seems like an unnecessary complication since this problem can be cleanly solved by allowing Bash to determine its path through `argv[0]`. 
    2121 
    22 Also, when there are multiple versions of Bash in the system, one cannot globally set `BASH_LOADABLES_PATH` globally as an environment variable. 
     22Also, when there are multiple versions of Bash in the system, one cannot globally set `BASH_LOADABLES_PATH` as an environment variable. 
    2323 
    2424