develooper Front page | perl.perl5.porters | Postings from November 2016

Re: [perl #130133] [PATCH] Configure leaves garbage in$Config{longdblinfbytes}

Thread Previous | Thread Next
Pip Cet
November 18, 2016 22:24
Re: [perl #130133] [PATCH] Configure leaves garbage in$Config{longdblinfbytes}
Message ID:
That patch fixes things for ldinf, but doesn't appear to do anything for ldnan.

Instead of memsetting after the fact, we could clear an area of memory
before storing the (long) doubles there, that would catch any future
formats with undefined bytes, too.

And maybe Configure C programs should be compiled with warnings
enabled to catch other bugs like this (if I'm looking at the code
right, it's unreachable code in a switch statement, which I think gcc
warns about.)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About