1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 21:45:22 +02:00

[165891] fix for windows local xcopy problem - can't double separate files

This commit is contained in:
David McKnight 2006-12-14 16:03:30 +00:00
parent 74d018e7d4
commit db2ce79901

View file

@ -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;
} }