summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-03-13 09:59:07 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-03-13 09:59:07 +0000
commitdee5a20ae91f94693553e63bbbd83160652aafb0 (patch)
treeae4b526e45e6f470c2477258fc9fbcfd5bf35b40
parent58c01c94580386541799bcfd22e2cd3e09f3880a (diff)
Change HDA_SIZE in oracle.c from 256 to 512. This is needed for 64-bit
cpus.
-rw-r--r--doc/doc-txt/ChangeLog5
-rw-r--r--src/src/lookups/oracle.c11
2 files changed, 12 insertions, 4 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index 55a1aaa4c..eb3ce2b9b 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -1,4 +1,4 @@
-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.488 2007/03/13 09:50:22 ph10 Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.489 2007/03/13 09:59:07 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -149,6 +149,9 @@ PH/33 Compile failed with OpenSSL 0.9.8e. This was due to a coding error in
changed to a proper function call with a void return, hence the compile
error. Exim's code has been fixed.
+PH/34 Change HDA_SIZE in oracle.c from 256 to 512. This is needed for 64-bit
+ cpus.
+
Exim version 4.66
-----------------
diff --git a/src/src/lookups/oracle.c b/src/src/lookups/oracle.c
index eb83e71c7..77084e403 100644
--- a/src/src/lookups/oracle.c
+++ b/src/src/lookups/oracle.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/lookups/oracle.c,v 1.4 2007/01/08 10:50:19 ph10 Exp $ */
+/* $Cambridge: exim/src/src/lookups/oracle.c,v 1.5 2007/03/13 09:59:07 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -42,9 +42,14 @@ static void dummy(int x) { dummy(x-1); }
#define MAX_SELECT_LIST_SIZE 32 /* maximum number of columns (not rows!) */
/* Paul's comment on this was "change this to 512 for 64bit cpu", but I don't
-understand why. The Oracle manual just asks for 256 bytes. */
+understand why. The Oracle manual just asks for 256 bytes.
-#define HDA_SIZE 256
+That was years ago. Jin Choi suggested (March 2007) that this change should
+be made in the source, as at worst it wastes 256 bytes, and it saves people
+having to discover about this for themselves as more and more systems are
+64-bit. So I have changed 256 to 512. */
+
+#define HDA_SIZE 512
/* Internal/external datatype codes */