diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2017-05-19 21:58:49 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2017-05-19 21:58:49 +0000 |
| commit | ce055d38a07d8486befd827441a53c13cc5ed532 (patch) | |
| tree | d92879f42ee8529ed4bba6c70439680d93b683f9 | |
| parent | 96d5d328567607e88c43cb0d895b86d42d864d5e (diff) | |
| parent | 8c00b08dc6243659bec1e94c0397d973840da983 (diff) | |
| download | platform_build_kati-ce055d38a07d8486befd827441a53c13cc5ed532.tar.gz platform_build_kati-ce055d38a07d8486befd827441a53c13cc5ed532.tar.bz2 platform_build_kati-ce055d38a07d8486befd827441a53c13cc5ed532.zip | |
Merge remote-tracking branch 'aosp/upstream' into master am: 66f48dd6cd am: 4feb9ec349 am: 4d7b526dd8
am: 8c00b08dc6
Change-Id: I8ce4d0f6e68fa4d7369b6ccacc6aef77b745687e
| -rw-r--r-- | find.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -918,7 +918,7 @@ class FindEmulatorImpl : public FindEmulator { DirentNode* ConstructDirectoryTree(const string& path) { DIR* dir = opendir(path.empty() ? "." : path.c_str()); if (!dir) { - if (errno == ENOENT) { + if (errno == ENOENT || errno == EACCES) { LOG("opendir failed: %s", path.c_str()); return NULL; } else { |
