Mercurial > hg
diff i18n/ja.po @ 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 | ead71b15efd5 |
children | d4ba4d51f85f |