mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +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
|
||||
{
|
||||
targetFile.createNewFile();
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -1173,7 +1174,7 @@ public class LocalFileService extends AbstractFileService implements IFileServic
|
|||
*/
|
||||
protected boolean isSpecialChar(char c) {
|
||||
|
||||
if ((c == '$') || (c == '`') || (c == '"') || (c == '\\') ) {
|
||||
if ((c == '$') || (c == '`') || (c == '"') || (!isWindows() && (c == '\\')) ) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue