version 1.25, 2003/01/25 14:38:58
|
version 1.26, 2003/03/18 20:59:36
|
|
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/ArrayInternal.h> | #include <Pegasus/Common/ArrayInternal.h> |
#include <Pegasus/Common/InternalException.h> | #include <Pegasus/Common/InternalException.h> |
|
#include <Pegasus/Common/System.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
#include <fstream> | #include <fstream> |
| |
|
|
| |
if (filename != String::EMPTY) | if (filename != String::EMPTY) |
{ | { |
if ((filename[0] != '/') && path && path[0]) |
if (!System::is_absolute_path(filename.getCString()) && path && path[0]) |
{ | { |
absolutePath.append(path); | absolutePath.append(path); |
absolutePath.append('/'); | absolutePath.append('/'); |