From c074e58f31b1be9482d7c448f69ff6fdd354025d Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 11 Jan 2012 17:02:37 +0100 Subject: [PATCH] [dmitry.avdeev] no special files on Windows --- .../intellij/openapi/vfs/impl/local/LocalFileSystemBase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java index 171938f41d4f..b0480d576be7 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2011 JetBrains s.r.o. + * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -186,6 +186,7 @@ public abstract class LocalFileSystemBase extends LocalFileSystem { @Override public boolean isSpecialFile(@NotNull final VirtualFile file) { + if (!SystemInfo.isUnix) return false; final File ioFile = convertToIOFile(file); return ioFile.exists() && !ioFile.isFile() && !ioFile.isDirectory(); }