1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

[195709] Kevin's patch to only enQuote the source string once

This commit is contained in:
David McKnight 2007-07-09 18:36:56 +00:00
parent 5161387b9f
commit 57df017e54

View file

@ -17,6 +17,7 @@
* Xuan Chen (IBM) - Fix 189487 - copy and paste a folder did not work - workbench hang
* Xuan Chen (IBM) - [189681] [dstore][linux] Refresh Folder in My Home messes up Refresh in Root
* Xuan Chen (IBM) - [191280] [dstore] Expand fails for folder "/folk" with 3361 children
* Kevin Doyle (IBM) - [195709] Windows Copying doesn't work when path contains space
*******************************************************************************/
package org.eclipse.rse.dstore.universal.miners;
@ -331,7 +332,8 @@ public class UniversalFileSystemMiner extends Miner {
if (_isWindows)
{
tgt = tgtFolder.getAbsolutePath() + File.separatorChar + srcFile.getName();
doCopyCommand(enQuote(src), enQuote(tgt), folderCopy, status);
// Both unix and windows need src quoted, so it's already done
doCopyCommand(src, enQuote(tgt), folderCopy, status);
if (status.getAttribute(DE.A_SOURCE) == IServiceConstants.FAILED)
{
break;