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

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

Re: gawk-3.1.4l: uninitialized "struct lconv *loc"


From: Aharon Robbins
Subject: Re: gawk-3.1.4l: uninitialized "struct lconv *loc"
Date: Wed, 15 Jun 2005 23:09:36 +0300

> Date: Wed, 15 Jun 2005 21:57:04 +0200
> From: Karel Zak <address@hidden>
> Subject: Re: gawk-3.1.4l: uninitialized "struct lconv *loc"
> To: Aharon Robbins <address@hidden>
> Cc: List bug-gnu-utils <address@hidden>
>
> On Wed, 2005-06-15 at 22:41 +0300, Aharon Robbins wrote:
>
> > This is an incorrect patch. It copies the numeric information for the
>
> Sorry, I thought that command line numbers formatting must be in "C". I
> probably misread any comment.

You read the comment correctly. But the `loc' variable is used for all
conversions, not just those for the command line. The ordering of assignment
is important.

> > "C" locale into the `loc' variable and that variable wants to have the
> > information for the real locale.
> > 
> > I have fixed the problem by checking in `isnondecimal' that
> > loc.decimal_point is not null and that loc.decimal_point[0] is not '\0',
> > in my code for the 3.1.5 release.
>
> Can you send me your patch?

I sent the routine separately, you probably have it by now.

> > In any case, I hope that Fedora 4 is not using my beta code.
>
> No. In FC4 is 3.1.4 where is same problem.

The original 3.1.4 doesn't have the problem.

In any case, please use the `isnondecimal' I sent and neither your patch nor
Ulrich's.

I'm downloading the FC4 DVD now. :-)

Thanks!

Arnold




reply via email to

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