bug-bash
[Top][All Lists]
Advanced

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

Re: caller builtin returns wrong lineno when sourced


From: Chet Ramey
Subject: Re: caller builtin returns wrong lineno when sourced
Date: Wed, 25 Nov 2009 18:09:31 -0500
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Hugo Mildenberger wrote:

> Bash Version: 4.0
> Patch Level: 33
> Release Status: release
> 
> Description:
>       The bash builtin function "caller" outputs wrong line numbers if the
>       script was sourced within the current shell. 

Thanks for the report.  This is only an issue if caller is used in a file
sourced from an interactive shell.  It will be fixed in bash-4.1.

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/




reply via email to

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