mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.
This commit is contained in:
1 parent
68b5e00c0c
commit
47fa65c648
1 file changed
+1
-4
@@ -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