develooper Front page | perl.perl5.porters | Postings from June 2015

batch of Coverity fixes

Thread Next
Jarkko Hietaniemi
June 27, 2015 03:25
batch of Coverity fixes
Message ID:

With these we are down to 36 open Coverity issues.

I know one of the still open ones has been fixed in CPAN upstream 
(though not yet released, I think):  A few others are from 
CPAN modules, reported upstream.  Some come from generated code (more 
precisely, typemaps) that I haven't yet felt up to fixing.  Some are odd 
enough that I've asked Coverity people to enlighten me.

This batch does not do anything about the bit shifts.

In this batch there are two that might be more bikesheddy:

which make alarm() and sleep() to do nothing (and warn, set errno and 
return failure) on negative arguments.  The warnings given are perhaps 
not the most informative, patches welcome.  The non-action taken is one 
of the possible options: we could croak.  We could sleep(0).  (alarm(0) 
already has specific semantics.)  The sleep was already discussed a bit 
back in March:

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