version 1.39, 2002/09/01 22:07:39
|
version 1.40, 2002/09/11 19:11:54
|
|
|
#include <Pegasus/Common/System.h> | #include <Pegasus/Common/System.h> |
#include "Destroyer.h" | #include "Destroyer.h" |
#include "FileSystem.h" | #include "FileSystem.h" |
#include "System.h" |
|
#include "Dir.h" | #include "Dir.h" |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
| |
for (Dir dir(dirPath); dir.more(); dir.next()) | for (Dir dir(dirPath); dir.more(); dir.next()) |
{ | { |
if (CompareNoCase(fileName, dir.getName()) == 0) |
if (System::strcasecmp(fileName, dir.getName()) == 0) |
{ | { |
if (strcmp(dirPath, ".") == 0) | if (strcmp(dirPath, ".") == 0) |
realPath = dir.getName(); | realPath = dir.getName(); |