diff options
author | Danny Wilson <danny@prime.vc> | 2015-11-25T20·57+0100 |
---|---|---|
committer | Danny Wilson <danny@prime.vc> | 2015-11-25T20·57+0100 |
commit | 69b9d8fdbd4d428515c15cf47c2ed2324f7aa021 (patch) | |
tree | f910ec3a1d82d9c9d6b659130e3a9c8d171f50d8 /src/nix-store | |
parent | cdb346c65eeb9f976cf3db21b3cb2f7d8837cf6b (diff) |
Use DT_UNKNOWN when dirent d_type extension is not supported.
edolstra: “…since callers of readDirectory have to handle the possibility of DT_UNKNOWN anyway, and we don't want to do a stat call for every directory entry unless it's really needed.”
Diffstat (limited to 'src/nix-store')
0 files changed, 0 insertions, 0 deletions