diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-04 23:02:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-04 23:02:08 +0000 |
commit | 47fa65c6487c36d8e161d731497e4ca10914ced2 (patch) | |
tree | 4806d30a77a6c35fed737ccfa6ce10453734a56b /src | |
parent | 68b5e00c0c7e4da815fb245c4a90b0971866678a (diff) | |
download | coreutils-47fa65c6487c36d8e161d731497e4ca10914ced2.tar.xz |
(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.
Diffstat (limited to 'src')
-rw-r--r-- | src/du.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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". */ |