diff options
author | das <das> | 2007-04-23 20:35:55 (GMT) |
---|---|---|
committer | das <das> | 2007-04-23 20:35:55 (GMT) |
commit | c93886c791c9d180c4e5fe39020495c2220bc3e6 (patch) | |
tree | 2f952ac8a6f3a4fa8111ba107482dc69f22c830a /unix/tclUnixInit.c | |
parent | b2d416baafa945b216378335885f99238f38966e (diff) | |
download | tcl-c93886c791c9d180c4e5fe39020495c2220bc3e6.zip tcl-c93886c791c9d180c4e5fe39020495c2220bc3e6.tar.gz tcl-c93886c791c9d180c4e5fe39020495c2220bc3e6.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.
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r-- | unix/tclUnixInit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index 854624f..d4f1003 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.69 2007/04/17 14:49:53 dkf Exp $ + * RCS: @(#) $Id: tclUnixInit.c,v 1.70 2007/04/23 20:35:55 das Exp $ */ #include "tclInt.h" @@ -332,7 +332,9 @@ static int MacOSXGetLibraryPath(Tcl_Interp *interp, #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(). |