aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWynn Wolf Arbor2021-01-17 15:36:03 +0100
committerWynn Wolf Arbor2021-01-17 15:36:03 +0100
commit93770d7f1c78dab289d8edc597c65b3103da513d (patch)
treefa6dc694bc339daaf496200404f34b06c5a86f76 /Makefile
parent56691b1bbbb8517a01f4abc123d0ebbf34256707 (diff)
downloadslowcgi-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