From 7d09565720b2955832749fffa7a2570775b4f57e Mon Sep 17 00:00:00 2001 From: dkf Date: Thu, 15 Sep 2005 15:25:17 +0000 Subject: Added yet another corner-case hack, this time for RHEL3. [Bug 1287638] --- ChangeLog | 21 +++++++++++++-------- unix/tcl.m4 | 3 +++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76230dd..0c6a296 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15 +1,20 @@ -2005-09-07 Don Porter +2005-09-15 Donal K. Fellows - * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negative - * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect - handling was producing byte sequences outside of Tcl's legal internal - encoding. [Bug 1283976]. + * unix/tcl.m4 (SC_TCL_EARLY_FLAGS): Added extra hack to allow Tcl + to transparently open large files on RHEL 3. [Bug 1287638] -2005-08-29 Kevin Kenny +2005-09-07 Don Porter + + * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negative + * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect + handling was producing byte sequences outside of Tcl's legal internal + encoding. [Bug 1283976]. + +2005-08-29 Kevin Kenny * generic/tclBasic.c (ExprMathFunc): Restored "round away from - * tests/expr.test (expr-46.*): zero" behaviour to the - "round" function. Added + * tests/expr.test (expr-46.*): zero" behaviour to the + "round" function. Added test cases for the behavior, including the awkward case of a number whose fractional part is 1/2-1/2ulp. [Bug 1275043] diff --git a/unix/tcl.m4 b/unix/tcl.m4 index a48c114..63dc0e6 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -2553,6 +2553,7 @@ AC_DEFUN(SC_TCL_LINK_LIBS, [ # Might define the following vars: # _ISOC99_SOURCE # _LARGEFILE64_SOURCE +# _LARGEFILE_SOURCE64 # #-------------------------------------------------------------------- @@ -2575,6 +2576,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