version 1.74, 2007/11/30 01:16:33
|
version 1.75, 2007/11/30 18:23:10
|
|
|
| |
Boolean FileSystem::existsNoCase(const String& path, String& realPath) | Boolean FileSystem::existsNoCase(const String& path, String& realPath) |
{ | { |
|
#if !defined(PEGASUS_OS_VMS) && !defined(PEGASUS_OS_TYPE_WINDOWS) |
|
|
// If a file exists that has the same case as the path parmater, | // If a file exists that has the same case as the path parmater, |
// then we can bypass the expensive directory scanning below. | // then we can bypass the expensive directory scanning below. |
| |
|
|
return true; | return true; |
} | } |
| |
|
#endif |
| |
realPath.clear(); | realPath.clear(); |
CString cpath = _clonePath(path); | CString cpath = _clonePath(path); |