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

          Priority: P2
            Bug ID: 6861
          Assignee: [email protected]
           Summary: /lib/Mail/SpamAssassin/Util/DependencyInfo.pm doesn't
                    handle test_version correctly
          Severity: normal
    Classification: Unclassified
                OS: Windows 7
          Reporter: [email protected]
          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.

Reply via email to