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 [email protected] http://cnswww.cns.cwru.edu/~chet/