develooper Front page | perl.perl5.porters | Postings from April 2019

[perl #134038] ext/POSIX/t/posix.t patch to fix deficiency in testsuite

Thread Previous
April 16, 2019 12:49
[perl #134038] ext/POSIX/t/posix.t patch to fix deficiency in testsuite
Message ID:
# New Ticket Created by  sisyphus 
# Please include the string:  [perl #134038]
# in the subject line of all future correspondence about this issue. 
# <URL: >

As discussed in recent postings to, at some time in the last
few days blead stopped  using Perl_strtod to assign floating point values
and reverted to the using its buggy atof functionality instead.

There is nothing in the test suite that detects such an occurrence,
The attached patch to posix.t remedies that by checking that  specific
'double', 'long double' and '__float128' values (known to be assigned
incorrectly by perl's atof routines) are being assigned correctly.


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