chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] another news from the valgrind front


From: Peter Bex
Subject: Re: [Chicken-users] another news from the valgrind front
Date: Tue, 11 Oct 2011 15:31:36 +0200
User-agent: Mutt/1.4.2.3i

On Tue, Oct 11, 2011 at 03:24:45PM +0200, Jörg F. Wittenberger wrote:
> Peter,
> 
> I've got one more issue fixed wrt. the fix I posted recently 
> https://lists.nongnu.org/archive/html/chicken-users/2011-10/txtQD3AT30Qxp.txt
> 
> Since I'm recovering from a big mess I made out of my build envt.
> Here only a description:
> 
> In C_a_i_string_to_number there is "exactf" declared but (as the only
> one) not initialised.  Thus we have another case for valgrind to complain
> when it's used.

This seems like an odd bug in the generated code then, since exactf is
*always* checked before checking exactpf (like  (exactpf && exactf)),
so this should never cause a Valgrind error.

But maybe it's a bit tricky so I'll add an initializer "just in case".

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

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