[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: COMP_WORDS, namerefs and readonly variables
From: |
Chet Ramey |
Subject: |
Re: COMP_WORDS, namerefs and readonly variables |
Date: |
Sat, 25 Feb 2017 16:21:59 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
On 2/24/17 6:39 PM, Grisha Levit wrote:
> In bind_comp_words, the readonly attribute is unconditionally removed from
> COMP_WORDS, even if that variable is a nameref. This allows unsetting the
> readonly attribute on any arbitrary variable.
I wonder if the best thing is to just not allow COMP_WORDS to be a nameref.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/