1
0
Fork 0
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:
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
{
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;
}