summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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