This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix Time::HiRes compile probe on VMS
authorCraig A. Berry <craigberry@mac.com>
Thu, 24 Dec 2020 14:48:47 +0000 (08:48 -0600)
committerCraig A. Berry <craigberry@mac.com>
Thu, 24 Dec 2020 18:01:59 +0000 (12:01 -0600)
The probe was checking the severity bits of the compiler exit
status and requiring the value to be 1, which is what they are
for SS$_NORMAL. But actually any true (odd) value is considered
successful. So, for example, if the compile succeeds but emits
"informational messages" that do not rise to the level of warnings
or errors, the severity bits have a value of 3, not 1. The probe
should not fail (and end up halting the build) in this case, so
allow any successful value.


No differences found