bug-bash
[Top][All Lists]
Advanced

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

Re: An exported function is malformed if it contains a nested function d


From: Chet Ramey
Subject: Re: An exported function is malformed if it contains a nested function definition with heredoc
Date: Fri, 6 Mar 2020 11:33:52 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 3/6/20 9:48 AM, Sherwood Wang wrote:

> Bash Version: 5.0
> Patch Level: 3
> Release Status: release
> 
> Description:
> 
>       A function containing a nested function definition with heredoc
>       cannot be serialized into the environment variable correctly,
>       and leads to failures in a subshell.

This was fixed back in July, the result of

https://lists.gnu.org/archive/html/bug-bash/2019-06/msg00063.html

and the fix is in the devel branch.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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