From 457d81cec12fce6e38c0dcd94d33d06036c2618a Mon Sep 17 00:00:00 2001 From: Matt Fischer Date: Mon, 4 Jan 2010 16:18:50 -0600 Subject: [PATCH] Allow 'adb pull' to pull symlinked files Change-Id: I02f31334e4ee0c7b0e7b379016629a465e711905 --- adb/file_sync_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adb/file_sync_client.c b/adb/file_sync_client.c index 0ebfe7395..65d494176 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,