comparison contrib/check-commit @ 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 99e231afc29c
children c102b704edb5
comparison
equal deleted inserted replaced
45849:731ea8fa1f11 45850:9534de20358f