summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2005-09-15 15:25:17 (GMT)
committerdkf <dkf@noemail.net>2005-09-15 15:25:17 (GMT)
commitf019c648f05281d1eb88c887364c23dd41fb85d9 (patch)
tree3ec890bbb7b2e74680a631017f3acc294399d46d
parentff70ae1fbe9a82e525fc689c689be849f27a0c95 (diff)
downloadtcl-f019c648f05281d1eb88c887364c23dd41fb85d9.zip
tcl-f019c648f05281d1eb88c887364c23dd41fb85d9.tar.gz
tcl-f019c648f05281d1eb88c887364c23dd41fb85d9.tar.bz2
Added yet another corner-case hack, this time for RHEL3. [Bug 1287638]
FossilOrigin-Name: 3ca7f7f35dea6851c960ca7af79e8b7c725863ee
-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