commit | 21e82b42ecb7f9e334e4f516f7ff5f04bbc9b9fd | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Nov 10 02:22:47 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 10 02:22:47 2015 +0000 |
tree | 0345c2df4d5defab442d12f11f56134e55d86005 | |
parent | 1267502d9212c71e560c5a906d80f5fcd4632794 [diff] | |
parent | 91f03a416807b462d797885d697abeda31acee8b [diff] |
Merge "adb: don't try to pull character or block devices."
diff --git a/file_sync_client.cpp b/file_sync_client.cpp index d71ca8d..3322763 100644 --- a/file_sync_client.cpp +++ b/file_sync_client.cpp
@@ -862,7 +862,8 @@ continue; } - if (S_ISREG(mode) || S_ISLNK(mode) || S_ISCHR(mode) || S_ISBLK(mode)) { + if (S_ISREG(mode) || S_ISLNK(mode)) { + // TODO(b/25601283): symlinks shouldn't be handled as files. std::string path_holder; struct stat st; if (stat(dst_path, &st) == 0) {