Re: [exim] Problem of comparing of large numbers.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Aleksey Tsvetkov
Dátum:  
Címzett: exim-users
Régi témák: [exim] Problem of comparing of large numbers.
Tárgy: Re: [exim] Problem of comparing of large numbers.
Somebody can help?

On Sat, 13 Jul 2013 00:44:56 +0400
Aleksey Tsvetkov <tsvetkov_av@???> writes:

>Hi,
>
>Faced such problem.
>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
>
>
>--
>Best regards,
>Aleksey Tsvetkov
>System Administrator
>Company Grand Vision
>tel. +7(495)933-39-79, ext. 184
>



--
Best regards,
Aleksey Tsvetkov
System Administrator
Company Grand Vision
tel. +7(495)933-39-79, ext. 184