diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2010-04-16 12:36:35 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2010-04-16 12:36:35 -0700 |
commit | 8ac50107a21b96f6e9c77ab23820d164543c5bbe (patch) | |
tree | 93afd7c777428044a15dd0ef256876eb3c63342d /adb | |
parent | db2f5ad494c4dfc5bd0ee1840468df329678c75c (diff) | |
parent | 457d81cec12fce6e38c0dcd94d33d06036c2618a (diff) | |
download | system_core-8ac50107a21b96f6e9c77ab23820d164543c5bbe.zip system_core-8ac50107a21b96f6e9c77ab23820d164543c5bbe.tar.gz system_core-8ac50107a21b96f6e9c77ab23820d164543c5bbe.tar.bz2 |
merge from open-source master
Change-Id: I7f30144c12c340501f161fba70a917eb62afc41f
Diffstat (limited to 'adb')
-rw-r--r-- | adb/file_sync_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/file_sync_client.c b/adb/file_sync_client.c index 0ebfe73..65d4941 100644 --- a/adb/file_sync_client.c +++ b/adb/file_sync_client.c @@ -959,7 +959,7 @@ int do_sync_pull(const char *rpath, const char *lpath) return 1; } - if(S_ISREG(mode) || S_ISCHR(mode) || S_ISBLK(mode)) { + if(S_ISREG(mode) || S_ISLNK(mode) || S_ISCHR(mode) || S_ISBLK(mode)) { if(stat(lpath, &st) == 0) { if(S_ISDIR(st.st_mode)) { /* if we're copying a remote file to a local directory, |