You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2012/11/05 23:06:52 UTC

[Bug 6861] New: /lib/Mail/SpamAssassin/Util/DependencyInfo.pm doesn't handle test_version correctly

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6861

          Priority: P2
            Bug ID: 6861
          Assignee: dev@spamassassin.apache.org
           Summary: /lib/Mail/SpamAssassin/Util/DependencyInfo.pm doesn't
                    handle test_version correctly
          Severity: normal
    Classification: Unclassified
                OS: Windows 7
          Reporter: kmcgrail@pccc.com
          Hardware: PC
            Status: NEW
           Version: SVN Trunk (Latest Devel Version)
         Component: Building & Packaging
           Product: Spamassassin

Created attachment 5108
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5108&action=edit
Patch to fix test_version in DependencyInfo.pm

The current test_version keeps testing more minor version numbers even if a
more major version has passed.  So 1.4.3 would fail tested against 1.0.6
because .3 would be less than .6.

Added short circuiting and improved the else loop to handle this better.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 6861] /lib/Mail/SpamAssassin/Util/DependencyInfo.pm doesn't handle test_version correctly

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6861

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kmcgrail@pccc.com
         Resolution|---                         |FIXED

--- Comment #1 from Kevin A. McGrail <km...@pccc.com> ---
svn commit -m 'Bug 6861 for test_version fixed for binary dependencies'
Sending        lib/Mail/SpamAssassin/Util/DependencyInfo.pm
Transmitting file data .
Committed revision 1406030.

-- 
You are receiving this mail because:
You are the assignee for the bug.