summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authordas <das@noemail.net>2007-04-29 02:19:50 (GMT)
committerdas <das@noemail.net>2007-04-29 02:19:50 (GMT)
commitf562523d8d353d3b4d866bcf5bba4360130bb31f (patch)
treed6658030aa01c0f869855cef3f15363d7d770406 /unix/tclUnixInit.c
parentea82af5be8dd81792dc64f9f608b5094bd34beb5 (diff)
downloadtcl-f562523d8d353d3b4d866bcf5bba4360130bb31f.zip
tcl-f562523d8d353d3b4d866bcf5bba4360130bb31f.tar.gz
tcl-f562523d8d353d3b4d866bcf5bba4360130bb31f.tar.bz2
* unix/tclUnixFCmd.c: add workaround for crashing bug in fts_open()
* unix/tclUnixInit.c: without FTS_NOSTAT on 64bit Darwin 8 or earlier. FossilOrigin-Name: 5d6c204a0cbcf26340542bb495332a300bef69c8
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index d36dfd5..795d312 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclUnixInit.c,v 1.34.2.14 2006/09/10 17:04:42 das Exp $
+ * RCS: @(#) $Id: tclUnixInit.c,v 1.34.2.15 2007/04/29 02:19:51 das Exp $
*/
#if defined(HAVE_COREFOUNDATION)
@@ -160,7 +160,9 @@ static int MacOSXGetLibraryPath _ANSI_ARGS_((
#endif /* HAVE_COREFOUNDATION */
#if defined(__APPLE__) && (defined(TCL_LOAD_FROM_MEMORY) || ( \
defined(TCL_THREADS) && defined(MAC_OS_X_VERSION_MIN_REQUIRED) && \
- MAC_OS_X_VERSION_MIN_REQUIRED < 1030))
+ MAC_OS_X_VERSION_MIN_REQUIRED < 1030) || ( \
+ defined(__LP64__) && defined(MAC_OS_X_VERSION_MIN_REQUIRED) && \
+ MAC_OS_X_VERSION_MIN_REQUIRED < 1050))
/*
* Need to check Darwin release at runtime in tclUnixFCmd.c and tclLoadDyld.c:
* initialize release global at startup from uname().