Discussion:
[Maia-users] workaround for version-checking bug in perl forks.pm
David Newman
2015-08-10 00:04:54 UTC
Permalink
At least on FreeBSD and Debian Linux, the process-quarantine.pl script
fails with an error like this (from a FreeBSD 10.1 box):

Argument "2.49_01" isn't numeric in numeric ge (>=) at
/usr/local/lib/perl5/site_perl/mach/5.20/forks.pm line 1570.

This has been a known issue in the perl forks.pm module for at least a
few months. A Debian developer suggested this workaround, using eval:

https://rt.cpan.org/Public/Bug/Display.html?id=102730

I have attached a patch for the FreeBSD version of forks.pm. The
process-quarantine.pl script stopped complaining after changing these
two lines.

dn

Loading...