summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-09-15 15:25:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-09-15 15:25:17 (GMT)
commit7d09565720b2955832749fffa7a2570775b4f57e (patch)
tree3ec890bbb7b2e74680a631017f3acc294399d46d
parent2d710b7bfb946720a165117b51982657462c87c2 (diff)
downloadtcl-7d09565720b2955832749fffa7a2570775b4f57e.zip
tcl-7d09565720b2955832749fffa7a2570775b4f57e.tar.gz
tcl-7d09565720b2955832749fffa7a2570775b4f57e.tar.bz2
Added yet another corner-case hack, this time for RHEL3. [Bug 1287638]
-rw-r--r--ChangeLog21
-rw-r--r--unix/tcl.m43
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 <dgp@users.sourceforge.net>
+2005-09-15 Donal K. Fellows <donal.k.fellows@man.ac.uk>
- * 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 <kennykb@acm.org>
+2005-09-07 Don Porter <dgp@users.sourceforge.net>
+
+ * 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 <kennykb@acm.org>
* 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 <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