Merge "adb: don\'t pull symlinks."

am: 29843cf141

* commit '29843cf1412e849978daa0aae4bd56e43f141751':
  adb: don't pull symlinks.
This commit is contained in:
Josh Gao 2015-11-13 23:27:41 +00:00 committed by android-build-merger
commit e01de06892
1 changed files with 1 additions and 2 deletions

View File

@ -887,8 +887,7 @@ bool do_sync_pull(const std::vector<const char*>& srcs, const char* dst,
continue;
}
if (S_ISREG(src_mode) || S_ISLNK(src_mode)) {
// TODO(b/25601283): symlinks shouldn't be handled as files.
if (S_ISREG(src_mode)) {
std::string path_holder;
if (dst_isdir) {
// If we're copying a remote file to a local directory, we