commit | 3ba9075ba0030d69e655a89359d6dc500fc25679 | [log] [tgz] |
---|---|---|
author | Matt Fischer <matt.fischer@garmin.com> | Mon Jan 04 16:18:50 2010 -0600 |
committer | Garmin Android technology group <android@garmin.com> | Thu Apr 15 13:36:16 2010 -0500 |
tree | afc3a06a7a37fa9e5b49febbbdb09ebf40944313 | |
parent | aadcebf27c77377bde74446b7587a3170de3a56b [diff] [blame] |
Allow 'adb pull' to pull symlinked files Change-Id: I02f31334e4ee0c7b0e7b379016629a465e711905
diff --git a/file_sync_client.c b/file_sync_client.c index 0ebfe73..65d4941 100644 --- a/file_sync_client.c +++ b/file_sync_client.c
@@ -959,7 +959,7 @@ 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,