[exim-dev] [Bug 1171] eval should support 64bit values

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-dev
Stare tematy: [exim-dev] [Bug 1171] New: eval should support 64bit values
Temat: [exim-dev] [Bug 1171] eval should support 64bit values
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1171

Jeremy Harris <jgh146exb@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED





--- Comment #4 from Jeremy Harris <jgh146exb@???> 2012-05-11 14:24:11 ---
I'm happy with that approach.

+/* Sizes for integer arithmetic.  Go for 64bit; can be overridden in
OS/os.h-FOO */
+#define int_eximarith_t int64_t
+#define PR_EXIM_ARITH "%" PRId64               /* C99 standard, printf %lld */
+#define SC_EXIM_ARITH "%" SCNi64               /* scanf incl. 0x prefix */
+#define SC_EXIM_DEC   "%" SCNd64               /* scanf decimal */
+
 /* End of config.h.defaults */



Unless I hear objections I'll commit in a couple of days. Note that I've not
compiled on anything but Linux (SL6). Who does the builds for those older
platforms?


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