From b1c749bb7f147e7f9215fe6067c848cf02938b92 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Thu, 16 Jun 2005 14:10:13 +0000 Subject: Check the length of off_t at build time and use %ld or %lld to print off_t values as appropriate. Assume that %lld is available if the size of off_t is greater than 4. This involved some modifications to string_vformat() in order to handle %lld. --- doc/doc-txt/ChangeLog | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc/doc-txt/ChangeLog') diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 5ff2e8869..c377b9394 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.156 2005/06/15 08:57:10 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.157 2005/06/16 14:10:13 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -120,6 +120,13 @@ PH/14 Imported PCRE 6.0; this was more than just a trivial operation because the sources for PCRE have been re-arranged and more files are now involved. +PH/15 The code I had for printing potentially long long variables in PH/11 + above was not the best (it lost precision). The length of off_t variables + is now inspected at build time, and an appropriate printing format (%ld + or %lld) is chosen and #defined by OFF_T_FMT. We also define ASSUME_ + LONG_LONG_SUPPORT if the length is greater than 4. This is needed for the + internal formatting function string_vformat(). + Exim version 4.51 ----------------- -- cgit v1.2.3