bug-bash
[Top][All Lists]
Advanced

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

Re: Source Code Bug in Bash-4.3.31 Module variables.c


From: Chet Ramey
Subject: Re: Source Code Bug in Bash-4.3.31 Module variables.c
Date: Mon, 06 Jul 2015 09:09:08 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 7/4/15 1:51 PM, John E. Malmberg wrote:

> Any resolution for this issue?
> 
> In arrayfunc.h:
> 
> extern arrayind_t array_expand_index __P((SHELL_VAR *, char *, int));
> 
> SHELL_VAR is a struct declared in variables.h.
> 
> So passing it const char * should be causing problems.

I will fix it in the next release of bash.  array_expand_index doesn't use
its first argument, so it doesn't affect actual operation.

-- 
``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]