[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with overridden functions and BASH_SOURCE Array
From: |
Chet Ramey |
Subject: |
Re: Problem with overridden functions and BASH_SOURCE Array |
Date: |
Mon, 19 Dec 2011 13:45:12 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
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
> just the source file that goes weird.
Yeah, I poked around at it and found a fairly simple change that fixes it.
There was more information being carried around between different parts of
the shell than I initially figured.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/