mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-29 19:23:38 +02:00
[195709] Kevin's patch to only enQuote the source string once
This commit is contained in:
parent
5161387b9f
commit
57df017e54
1 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
||||||
* Xuan Chen (IBM) - Fix 189487 - copy and paste a folder did not work - workbench hang
|
* 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) - [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
|
* 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;
|
package org.eclipse.rse.dstore.universal.miners;
|
||||||
|
@ -331,7 +332,8 @@ public class UniversalFileSystemMiner extends Miner {
|
||||||
if (_isWindows)
|
if (_isWindows)
|
||||||
{
|
{
|
||||||
tgt = tgtFolder.getAbsolutePath() + File.separatorChar + srcFile.getName();
|
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)
|
if (status.getAttribute(DE.A_SOURCE) == IServiceConstants.FAILED)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue