mirror of https://github.com/postgres/postgres
Avoid losing errno if readdir() fails and closedir() works. This also
avoids leaking the directory handle when readdir() fails. Commit
6f03927fce introduced logic to better
handle readdir() and closedir() failures, bu it missed these cases.
Extracted from a larger patch by Marco Nenciarini.
REL9_1_STABLE
parent
2df854f842
commit
d7d294f593
Loading…
Reference in new issue