From 75aee26af34aeea93c32910c88c0d5cef7077ff7 Mon Sep 17 00:00:00 2001 From: dkf Date: Thu, 15 Sep 2005 15:30:37 +0000 Subject: More flags hacking, this time for open64 under RHEL3. [Bug 1287638] --- ChangeLog | 5 +++++ unix/tcl.m4 | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index b2c611b..9bcf67c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-15 Donal K. Fellows + + * 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 * 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 ], [struct stat64 buf; int i = stat64("/", &buf);]) + SC_TCL_EARLY_FLAG(_LARGEFILE_SOURCE64,[#include ], + [char *p = (char *)open64;]) if test "x${tcl_flags}" = "x" ; then AC_MSG_RESULT(none) else -- cgit v0.12