mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 13:35:22 +02:00
[165891] fix for windows local xcopy problem - can't double separate files
This commit is contained in:
parent
74d018e7d4
commit
db2ce79901
1 changed files with 2 additions and 1 deletions
|
@ -1095,6 +1095,7 @@ public class LocalFileService extends AbstractFileService implements IFileServic
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
targetFile.createNewFile();
|
targetFile.createNewFile();
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
@ -1173,7 +1174,7 @@ public class LocalFileService extends AbstractFileService implements IFileServic
|
||||||
*/
|
*/
|
||||||
protected boolean isSpecialChar(char c) {
|
protected boolean isSpecialChar(char c) {
|
||||||
|
|
||||||
if ((c == '$') || (c == '`') || (c == '"') || (c == '\\') ) {
|
if ((c == '$') || (c == '`') || (c == '"') || (!isWindows() && (c == '\\')) ) {
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue