Re: BASH_SOURCE gets confused when multiple sources are a priori candidates

2018-01-03 Thread Chet Ramey
On 1/2/18 11:19 AM, Chet Ramey wrote: > On 12/18/17 8:06 AM, Bruno Vasselle wrote: > >> Bash Version: 4.4 >> Patch Level: 12 >> Release Status: release >> >> Description: >> When a function looks like it is defined in multiple sources, >> BASH_SOURCE does not reliably report it has defined

Re: BASH_SOURCE gets confused when multiple sources are a priori candidates

2018-01-02 Thread Chet Ramey
On 12/18/17 8:06 AM, Bruno Vasselle wrote: > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Description: > When a function looks like it is defined in multiple sources, > BASH_SOURCE does not reliably report it has defined > where it was actually defined. It seems t

BASH_SOURCE gets confused when multiple sources are a priori candidates

2017-12-18 Thread Bruno Vasselle
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/sha