[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] sym_constant not working properly
From: |
Andrew J. Schorr |
Subject: |
Re: [bug-gawk] sym_constant not working properly |
Date: |
Mon, 17 Dec 2012 21:00:51 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Dec 17, 2012 at 08:51:57PM -0500, Andrew J. Schorr wrote:
> Can you please test something for me: if you use sym_constant instead
> of sym_update, does it work properly? I find that my program is
> still able to modify the variable even though it was configured
> to be a constant. The code that sets var_assign to set_constant doesn't seem
> to be having any impact on what happens.
It seems as if sym_constant works properly when called from a
extension module init_func, but not when it's called from an extension
function. In both cases the call succeeds, but when set from inside
an extension function, there is nothing preventing user awk code
from updating the value.
Arnold -- do you have any idea what's going on here? It looks like a bug
to me.
Regards,
Andy
- Re: [bug-gawk] built-in variables in extensions, (continued)
- Re: [bug-gawk] built-in variables in extensions, Assaf Gordon, 2012/12/17
- Re: [bug-gawk] built-in variables in extensions, Andrew J. Schorr, 2012/12/17
- Re: [bug-gawk] built-in variables in extensions, Assaf Gordon, 2012/12/17
- Re: [bug-gawk] built-in variables in extensions, Andrew J. Schorr, 2012/12/17
- Re: [bug-gawk] built-in variables in extensions, Assaf Gordon, 2012/12/17
- Re: [bug-gawk] parsing column title header records, Andrew J. Schorr, 2012/12/17
- Re: [bug-gawk] parsing column title header records, Assaf Gordon, 2012/12/17
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Andrew J. Schorr, 2012/12/17
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Assaf Gordon, 2012/12/17
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Andrew J. Schorr, 2012/12/17
- Re: [bug-gawk] sym_constant not working properly,
Andrew J. Schorr <=
- Re: [bug-gawk] sym_constant not working properly, Aharon Robbins, 2012/12/18
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Assaf Gordon, 2012/12/18
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Andrew J. Schorr, 2012/12/18
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Aharon Robbins, 2012/12/18
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Andrew J. Schorr, 2012/12/18
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Aharon Robbins, 2012/12/18
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, Andrew J. Schorr, 2012/12/18
- Re: [bug-gawk] built-in variables in extensions, Aharon Robbins, 2012/12/18
Re: [bug-gawk] built-in variables in extensions, Aharon Robbins, 2012/12/18
Re: [bug-gawk] built-in variables in extensions, Aharon Robbins, 2012/12/18