>> /usr/lib/news/bin/controlchan line 73: contains the following
>> check:
>> 
>>    if ($Sys::Syslog::VERSION < 0.15) {
>> 
>> which gives the following error in /var/log/news/errlog
>> 
>> Argument "0.33_01" isn't numeric in numeric lt (<)
> 
> I would suggest to just change that line to:
> 
>    if ($Sys::Syslog::VERSION lt 0.15) {

Fixed upstream in revision 10076.


Modified: backends/news2mail.in
===================================================================
--- backends/news2mail.in       2016-10-08 20:37:08 UTC (rev 10075)
+++ backends/news2mail.in       2016-10-08 20:37:36 UTC (rev 10076)
@@ -46,7 +46,7 @@
 eval { require Sys::Syslog; import Sys::Syslog; $use_syslog = 1; };
 
 if ($use_syslog) {
-    if ($Sys::Syslog::VERSION < 0.15) {
+    if ($Sys::Syslog::VERSION lt 0.15) {
         eval "sub Sys::Syslog::_PATH_LOG { '/dev/log' }" if $^O eq 'dec_osf';
         Sys::Syslog::setlogsock('unix') if $^O =~ 
/linux|dec_osf|freebsd|darwin/;
     }

Modified: backends/send-uucp.in
===================================================================
--- backends/send-uucp.in       2016-10-08 20:37:08 UTC (rev 10075)
+++ backends/send-uucp.in       2016-10-08 20:37:36 UTC (rev 10076)
@@ -53,7 +53,7 @@
 eval { require Sys::Syslog; import Sys::Syslog; $use_syslog = 1; };
 
 if ($use_syslog) {
-    if ($Sys::Syslog::VERSION < 0.15) {
+    if ($Sys::Syslog::VERSION lt 0.15) {
         eval "sub Sys::Syslog::_PATH_LOG { '/dev/log' }" if $^O eq 'dec_osf';
         Sys::Syslog::setlogsock('unix') if $^O =~ 
/linux|dec_osf|freebsd|darwin/;
     }

Modified: control/controlchan.in
===================================================================
--- control/controlchan.in      2016-10-08 20:37:08 UTC (rev 10075)
+++ control/controlchan.in      2016-10-08 20:37:36 UTC (rev 10076)
@@ -70,7 +70,7 @@
 }
 
 if ($use_syslog) {
-    if ($Sys::Syslog::VERSION < 0.15) {
+    if ($Sys::Syslog::VERSION lt 0.15) {
         eval "sub Sys::Syslog::_PATH_LOG { '/dev/log' }" if $^O eq 'dec_osf';
         Sys::Syslog::setlogsock('unix') if $^O =~ 
/linux|dec_osf|freebsd|darwin/;
     }

Modified: control/perl-nocem.in
===================================================================
--- control/perl-nocem.in       2016-10-08 20:37:08 UTC (rev 10075)
+++ control/perl-nocem.in       2016-10-08 20:37:36 UTC (rev 10076)
@@ -56,7 +56,7 @@
 eval { require Sys::Syslog; import Sys::Syslog; $use_syslog = 1; };
 
 if ($use_syslog) {
-    if ($Sys::Syslog::VERSION < 0.15) {
+    if ($Sys::Syslog::VERSION lt 0.15) {
         eval "sub Sys::Syslog::_PATH_LOG { '/dev/log' }" if $^O eq 'dec_osf';
         Sys::Syslog::setlogsock('unix') if $^O =~ 
/linux|dec_osf|freebsd|darwin/;
     }

Modified: frontends/cnfsstat.in
===================================================================
--- frontends/cnfsstat.in       2016-10-08 20:37:08 UTC (rev 10075)
+++ frontends/cnfsstat.in       2016-10-08 20:37:36 UTC (rev 10076)
@@ -64,7 +64,7 @@
 if ($opt{'s'}) {
     eval { require Sys::Syslog; import Sys::Syslog; $use_syslog = 1 };
     if ($use_syslog) {
-        if ($Sys::Syslog::VERSION < 0.15) {
+        if ($Sys::Syslog::VERSION lt 0.15) {
             eval "sub Sys::Syslog::_PATH_LOG { '/dev/log' }" if $^O eq 
'dec_osf';
             Sys::Syslog::setlogsock('unix') if $^O =~ 
/linux|dec_osf|freebsd|darwin/;
         }

Modified: frontends/mailpost.in
===================================================================
--- frontends/mailpost.in       2016-10-08 20:37:08 UTC (rev 10075)
+++ frontends/mailpost.in       2016-10-08 20:37:36 UTC (rev 10076)
@@ -45,7 +45,7 @@
 eval { require Sys::Syslog; import Sys::Syslog; $use_syslog = 1; };
 
 if ($use_syslog) {
-    if ($Sys::Syslog::VERSION < 0.15) {
+    if ($Sys::Syslog::VERSION lt 0.15) {
         eval "sub Sys::Syslog::_PATH_LOG { '/dev/log' }" if $^O eq 'dec_osf';
         Sys::Syslog::setlogsock('unix') if $^O =~ 
/linux|dec_osf|freebsd|darwin/;
     }



-- 
Julien ÉLIE

« Loving unconditional means forgiving and learning to live with his
  imperfections.  Because in the end you'll realize that it is what you
  love the most. »

Reply via email to