diff options
| author | hobbs <hobbs> | 2005-11-09 00:53:05 (GMT) | 
|---|---|---|
| committer | hobbs <hobbs> | 2005-11-09 00:53:05 (GMT) | 
| commit | 198c3c32b977b8c0f383c6951d63edfa8c0b6ac8 (patch) | |
| tree | a9b46b453a3f69c1af1d541332cc2d3a029289e7 /unix/tclUnixFCmd.c | |
| parent | e7ec6bc405c6249174bd55f84b73d1bd6becd185 (diff) | |
| download | tcl-198c3c32b977b8c0f383c6951d63edfa8c0b6ac8.zip tcl-198c3c32b977b8c0f383c6951d63edfa8c0b6ac8.tar.gz tcl-198c3c32b977b8c0f383c6951d63edfa8c0b6ac8.tar.bz2 | |
	* unix/tclUnixFCmd.c (MAX_READDIR_UNLINK_THRESHOLD): reduce to 130
	based on errors seen on OS X 10.3 with lots of links in a dir.
	[Bug 1034337 followup]
Diffstat (limited to 'unix/tclUnixFCmd.c')
| -rw-r--r-- | unix/tclUnixFCmd.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index c600ff3..e9d60ab 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -10,7 +10,7 @@   * See the file "license.terms" for information on usage and redistribution   * of this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixFCmd.c,v 1.28.2.5 2005/10/07 22:35:03 hobbs Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.28.2.6 2005/11/09 00:53:06 hobbs Exp $   *   * Portions of this code were derived from NetBSD source code which has   * the following copyright notice: @@ -129,14 +129,14 @@ CONST TclFileAttrProcs tclpFileAttrProcs[] = {   * a bug that makes readdir return NULL even though some directory entries   * have not been processed.  The bug afflicts SunOS's readdir when applied to   * ufs file systems and Darwin 6.5's (and OSX v.10.3.8's) HFS+.  JH found the - * Darwin readdir to reset at 172, so 150 is chosen to be conservative.  We + * Darwin readdir to reset at 147, so 130 is chosen to be conservative.  We   * can't do a general rewind on failure as NFS can create special files that   * recreate themselves when you try and delete them.  8.4.8 added a solution   * that was affected by a single such NFS file, this solution should not be   * affected by less than THRESHOLD such files. [Bug 1034337]   */ -#define MAX_READDIR_UNLINK_THRESHOLD 150 +#define MAX_READDIR_UNLINK_THRESHOLD 130  /*   * Declarations for local procedures defined in this file: | 
