summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2005-09-15 15:30:37 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2005-09-15 15:30:37 (GMT)
commitc2cc858b87e7584370f28c992bc7f54732bf7159 (patch)
treea683c2ac62ab66d041efa88b3e485aa3fe043971
parent32acd6a37b8b09856fad60f6f4cf16e8505824a2 (diff)
downloadtcl-c2cc858b87e7584370f28c992bc7f54732bf7159.zip
tcl-c2cc858b87e7584370f28c992bc7f54732bf7159.tar.gz
tcl-c2cc858b87e7584370f28c992bc7f54732bf7159.tar.bz2
More flags hacking, this time for open64 under RHEL3. [Bug 1287638]
-rw-r--r--ChangeLog5
-rw-r--r--unix/tcl.m42
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b2c611b..9bcf67c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-15 Donal K. Fellows <donal.k.fellows@man.ac.uk>
+
+ * unix/tcl.m4 (SC_TCL_EARLY_FLAGS): Added extra hack to allow Tcl
+ to transparently open large files on RHEL 3. [Bug 1287638]
+
2005-09-13 Don Porter <dgp@users.sourceforge.net>
* generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed to
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index cc5f284..aa6e870 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2522,6 +2522,8 @@ AC_DEFUN(SC_TCL_EARLY_FLAGS,[
[char *p = (char *)strtoll; char *q = (char *)strtoull;])
SC_TCL_EARLY_FLAG(_LARGEFILE64_SOURCE,[#include <sys/stat.h>],
[struct stat64 buf; int i = stat64("/", &buf);])
+ SC_TCL_EARLY_FLAG(_LARGEFILE_SOURCE64,[#include <sys/stat.h>],
+ [char *p = (char *)open64;])
if test "x${tcl_flags}" = "x" ; then
AC_MSG_RESULT(none)
else