[exim-dev] [Bug 1385] New: Problem of comparing of large num…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Aleksey Tsvetkov
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 1385] New: Problem of comparing of large numbers.
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1385
           Summary: Problem of comparing of large numbers.
           Product: Exim
           Version: 4.80.1
          Platform: x86
        OS/Version: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
        AssignedTo: jgh146exb@???
        ReportedBy: tsvetkov_av@???
                CC: exim-dev@???



When comparing numbers everything rests against int_32 though addition
works with large numbers. What do I do not so?
The problem is shown on 32 and 64 OS

#-------------------------------------------------------------------

exim -be '${if >{1}{2147483647}{yes}{no}}'
no

exim -be '${if >{1}{2147483648}{yes}{no}}'
yes

exim -be '${eval:2147483647+1}'
2147483648

exim -be '${eval:2147483648+1}'
2147483649

#-------------------------------------------------------------------

uname -mrs
FreeBSD 8.2-RELEASE-p6 i386

exim -bV
Exim version 4.80.1 #2 (FreeBSD 8.2) built 21-Mar-2013 16:39:32
Copyright (c) University of Cambridge, 1995 - 2012
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007
- 2012 Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() use_setclassresources PAM Perl
Expand_dlfunc OpenSSL Content_Scanning DKIM Old_Demime Experimental_SPF
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql passwd
Authenticators: cram_md5 dovecot plaintext spa Routers: accept
dnslookup ipliteral manualroute queryprogram redirect Transports:
appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp Fixed
never_users: 0 Size of off_t: 8 Configuration file
is /usr/local/etc/exim/configure

#-------------------------------------------------------------------

uname -mrs
FreeBSD 8.3-RELEASE-p4 amd64

exim -bV
Exim version 4.80.1 #2 (FreeBSD 8.3) built 08-Jul-2013 22:29:59
Copyright (c) University of Cambridge, 1995 - 2012
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007
- 2012 Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() use_setclassresources PAM Perl
Expand_dlfunc OpenSSL Content_Scanning DKIM Old_Demime Experimental_SPF
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm passwd Authenticators:
cram_md5 dovecot plaintext spa Routers: accept dnslookup ipliteral
manualroute queryprogram redirect Transports:
appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp Fixed
never_users: 0 Size of off_t: 8 Configuration file
is /usr/local/etc/exim/configure


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email