about summary refs log tree commit diff
path: root/src/nix-instantiate
diff options
context:
space:
mode:
authorDanny Wilson <danny@prime.vc>2015-11-25T20·57+0100
committerDanny Wilson <danny@prime.vc>2015-11-25T20·57+0100
commit69b9d8fdbd4d428515c15cf47c2ed2324f7aa021 (patch)
treef910ec3a1d82d9c9d6b659130e3a9c8d171f50d8 /src/nix-instantiate
parentcdb346c65eeb9f976cf3db21b3cb2f7d8837cf6b (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-instantiate')
0 files changed, 0 insertions, 0 deletions