Mercurial > hg
diff contrib/Makefile.python @ 45850:9534de20358f stable
chg: do not close dir fd while iterating
It works so long as the dp is the last entry, but readdir(dp) would fail
with EBADF. Let's not do that and close the dir fd explicitly.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 03 Nov 2020 11:15:50 +0900 |
parents | ae68418cc3a1 |
children |