bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: non-decimal variable parameters cause crashes


From: Aharon Robbins
Subject: Re: non-decimal variable parameters cause crashes
Date: Wed, 15 Jun 2005 22:19:56 +0300

Ulrich, 

Hi.

> Date: Tue, 14 Jun 2005 17:57:55 -0700
> From: Ulrich Drepper <address@hidden>
> Subject: non-decimal variable parameters cause crashes
> To: address@hidden
>
> Running
>
>   gawk --non-decimal-data -v a=0x1 'BEGIN { print a+0 }'
>
> currently crashes.  More details including a patch at
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160421
>
> -- 
> Ulrich Drepper

Thanks for the report.  The internals for this stuff have changed
somewhat for the upcoming 3.1.5 release.  This bug still existed
though.  I have fixed it, although in a different way.

I am not 100% sure that your patch is correct, since command line
variable assignments are supposed to always use period as the
decimal point, and I think your patch changes that behavior.

In any case, I will add your test program to the test suite, to
make sure that the bug doesn't come back.

Thanks!

Arnold




reply via email to

[Prev in Thread] Current Thread [Next in Thread]