Mercurial > hg
comparison tests/test-minirst.py @ 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 | 2372284d9457 |
children | aaff3bc75306 |
comparison
equal
deleted
inserted
replaced
45849:731ea8fa1f11 | 45850:9534de20358f |
---|