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:
@@ -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". */
|
||||
|
||||
Reference in New Issue
Block a user