On 9/1/14, 10:16 PM, lolilolicon wrote:
> On Tue, Sep 2, 2014 at 9:02 AM, Chet Ramey <[email protected]> wrote:
>> It's a bug that results in `arr[0]' being created as a shell variable.
>> I've attached a patch for people who want to experiment with it.
>
> I applied it against 4.3.24 but it failed to build... Am I missing some
> patch in between?
>
> variables.c:2560:15: error: too many arguments to function
> ‘make_new_array_variable’
> entry = make_new_array_variable (newname, table); /* indexed
> array by default */
You can just take the `table' argument out and it should work for your
test case. It's just as well that patch didn't work right, though, since
I'm looking at other issues with it.
Chet
--
``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/