Re: Problem with overridden functions and BASH_SOURCE Array

2011-12-19 Thread Chet Ramey
On 12/19/11 9:22 AM, dethrophes wrote: > >> I will have to see if the function definition can do a better job of >> carrying around the source file and line information, but that's a pretty >> significant change. > Actually from what I have seen it already seems to work for BASH_LINENO. Its > jus

Re: Problem with overridden functions and BASH_SOURCE Array

2011-12-19 Thread dethrophes
nabble.com/Problem-with-overridden-functions-and-BASH_SOURCE-Array-tp32975117p33003158.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Problem with overridden functions and BASH_SOURCE Array

2011-12-15 Thread Chet Ramey
On 12/14/11 4:13 AM, dethrophes@modt005 wrote: > Bash Version: 4.2 > Patch Level: 8 > Release Status: release > > Description: > Problem with overridden functions having wrong source file name in > BASH_SOURCE Array > see example in Repeat-By section This is an interesting problem.

Problem with overridden functions and BASH_SOURCE Array

2011-12-14 Thread dethrophes
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba