parent
fbc4a8dbd1
commit
ed8185fc75
|
@ -2459,7 +2459,7 @@ void CheckDuplicatesRecursively(std::string path) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
auto dir_closer = Cleanup([&dir]() { closedir(dir); });
|
auto dir_closer = Cleanup([&dir]() { closedir(dir); });
|
||||||
std::unordered_set<std::string> children;
|
absl::node_hash_set<std::string> children;
|
||||||
while (true) {
|
while (true) {
|
||||||
// Readdir(3): If the end of the directory stream is reached, NULL is
|
// Readdir(3): If the end of the directory stream is reached, NULL is
|
||||||
// returned and errno is not changed. If an error occurs, NULL is
|
// returned and errno is not changed. If an error occurs, NULL is
|
||||||
|
|
Loading…
Reference in New Issue