diff options
author | hobbs <hobbs> | 2005-11-09 00:53:33 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-11-09 00:53:33 (GMT) |
commit | 4b66bd021957ff5e1f10099edd4a41c9f52b448f (patch) | |
tree | d48bce8f38324282c9790691a02620b2eceec0e0 /unix/tclUnixFCmd.c | |
parent | feb2307f294cedbe38b33babfd6f51f955635855 (diff) | |
download | tcl-4b66bd021957ff5e1f10099edd4a41c9f52b448f.zip tcl-4b66bd021957ff5e1f10099edd4a41c9f52b448f.tar.gz tcl-4b66bd021957ff5e1f10099edd4a41c9f52b448f.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 5e31c0c..9bb0b1f 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.47 2005/11/02 23:26:50 dkf Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.48 2005/11/09 00:53:33 hobbs Exp $ * * Portions of this code were derived from NetBSD source code which has the * following copyright notice: @@ -161,14 +161,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: |