bug-bash
[Top][All Lists]
Advanced

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

Re: SIGSEGV on "local -a GROUPS=(...)" in function


From: Chet Ramey
Subject: Re: SIGSEGV on "local -a GROUPS=(...)" in function
Date: Sun, 17 Feb 2013 16:45:32 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 2/14/13 7:57 PM, Richard Tollerton wrote:
> This is probably not a good thing to be doing in the first place (I ran
> into this before realizing that GROUPS was a special variable):

Not only is GROUPS a special variable, assignments to it are disallowed.
Still, the shell shouldn't core dump when you try.  That will be fixed
in the next version, and I'll add a warning to let users know when they
try to do this.  Thanks for the report.

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]