1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-17 09:06:50 +02:00

(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.

This commit is contained in:
Jim Meyering
2003-03-04 23:02:08 +00:00
parent 68b5e00c0c
commit 47fa65c648
+1 -4
View File
@@ -54,10 +54,7 @@
/* The maximum number of simultaneously open file handles that
may be used by ftw. */
#define MAX_N_DESCRIPTORS \
(UTILS_OPEN_MAX < 20 \
? UTILS_OPEN_MAX \
: UTILS_OPEN_MAX - 10)
#define MAX_N_DESCRIPTORS (3 * UTILS_OPEN_MAX / 4)
/* Hash structure for inode and device numbers. The separate entry
structure makes it easier to rehash "in place". */