diff options
author | Wynn Wolf Arbor | 2021-01-17 15:36:03 +0100 |
---|---|---|
committer | Wynn Wolf Arbor | 2021-01-17 15:36:03 +0100 |
commit | 93770d7f1c78dab289d8edc597c65b3103da513d (patch) | |
tree | fa6dc694bc339daaf496200404f34b06c5a86f76 /.mailmap | |
parent | 56691b1bbbb8517a01f4abc123d0ebbf34256707 (diff) | |
download | slowcgi-93770d7f1c78dab289d8edc597c65b3103da513d.tar.gz |
Have getdtablecount() return the right number of file descriptors6.8
To find the number of file descriptors that the process has currently
open, getdtablecount() counts the number of files under '/proc/self/fd'.
Previously, the special directories '.' and '..' were counted alongside
any symbolic links, making getdtablecount() return the wrong number of
file descriptors.
Make sure that these special directories are ignored by only counting
files whose name consists entirely of digits.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions