[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] built-in variables in extensions
From: |
Assaf Gordon |
Subject: |
Re: [bug-gawk] built-in variables in extensions |
Date: |
Wed, 19 Dec 2012 11:37:37 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 |
Aharon Robbins wrote, On 12/19/2012 08:01 AM:
> Hi Assaf.
>
>> Trying to write my own extension, I've encountered the following case:
>> If my extension tries to access a built-in variable that isn't used in
>> the code (e.g. "NR" or "NF") - the value is not properly returned.
>
> As mentioned, this is a bug. The following patch seems to fix it for
> me. Please try it out for you.
>
Works!
Thanks for the fix (although based on your previous explanation, a C extension
isn't needed after all :) ).
- Re: [bug-gawk] bug in gawkapi.c:sym_update_real, (continued)
- 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
Re: [bug-gawk] built-in variables in extensions, Aharon Robbins, 2012/12/19
- Re: [bug-gawk] built-in variables in extensions,
Assaf Gordon <=