bug-bash
[Top][All Lists]
Advanced

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

Re: Minor problems with bash-3.2-33.el5_11.4


From: Chet Ramey
Subject: Re: Minor problems with bash-3.2-33.el5_11.4
Date: Mon, 06 Oct 2014 07:52:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 10/6/14, 4:04 AM, Tajthy, Tamas wrote:
> Hi,
> 
> I have a minor issue with the newest bash-3.2-33.el5_11.4 (RedHat) package. 
> Same happens on Debian Wheezy (unfortunately I do not know that version 
> number now).
> 
> I usually define in my .bash_profile some functions called "..", "...", 
> "...." and so on. After the latest  package was installed I continuously get 
> error messages shown above when I start a (sub-)bash from the login bash:
> 
> bash: error importing function definition for `BASH_FUNC_..'
> bash: error importing function definition for `BASH_FUNC_...'
> bash: error importing function definition for `BASH_FUNC_....'
> 
> etc...  And these functions cannot be used in the child bash. But no problem 
> is shown when bash is a login shell (called as "bash -l") and the definition 
> is read from the .bash_profile.

You should open a bug report with Red Hat and Debian.  They used a stricter
version of the patches that result in bash refusing to import shell
functions whose names are not valid shell identifiers.  The official
patches I released, while imposing this requirement early (bash32-052),
allow names that are not valid identifiers when the shell is not running
in Posix mode (as of bash32-054).

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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