OSDN Git Service

Fix in FileListingService.
authorPierre Zurek <pierrezurek@gmail.com>
Fri, 11 Feb 2011 23:01:04 +0000 (00:01 +0100)
committerPierre Zurek <pierrezurek@gmail.com>
Fri, 11 Feb 2011 23:02:17 +0000 (00:02 +0100)
Using getFullEscapedPath() instead of getFullPath() in doLs().

Change-Id: Ib4a1178354872398daa42777a0f05aa3e246e8f6

ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java

index bfeeea2..4cf0056 100644 (file)
@@ -745,7 +745,7 @@ public final class FileListingService {
 
         try {
             // create the command
-            String command = "ls -l " + entry.getFullPath(); //$NON-NLS-1$
+            String command = "ls -l " + entry.getFullEscapedPath(); //$NON-NLS-1$
 
             // create the receiver object that will parse the result from ls
             LsReceiver receiver = new LsReceiver(entry, entryList, linkList);