Merge "adb: don\'t try to pull character or block devices." am: 0bb1ce06ea
am: 85a4b33302
am: 155d62feb0
* commit '155d62feb0ae0fe5e119b28a23bb69f22ca52ec5':
adb: don't try to pull character or block devices.
This commit is contained in:
commit
5a499973ac
|
@ -862,7 +862,8 @@ bool do_sync_pull(const std::vector<const char*>& srcs, const char* dst,
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue