version 1.27, 2003/08/12 18:14:55
|
version 1.28, 2003/08/12 19:37:55
|
|
|
| |
inline Boolean Open(PEGASUS_STD(ifstream)& is, const String& path) | inline Boolean Open(PEGASUS_STD(ifstream)& is, const String& path) |
{ | { |
#if defined(PEGASUS_OS_OS400) && defined(DAVES_CHANGES) |
#if defined(PEGASUS_OS_OS400) |
CString tempPath = path.getCString(); | CString tempPath = path.getCString(); |
const char * tmp = tempPath; | const char * tmp = tempPath; |
AtoE((char *)tmp); | AtoE((char *)tmp); |
|
|
| |
inline Boolean Open(PEGASUS_STD(ofstream)& os, const String& path) | inline Boolean Open(PEGASUS_STD(ofstream)& os, const String& path) |
{ | { |
#if defined(PEGASUS_OS_OS400) && defined(DAVES_CHANGES) |
#if defined(PEGASUS_OS_OS400) |
CString tempPath = path.getCString(); | CString tempPath = path.getCString(); |
const char * tmp = tempPath; | const char * tmp = tempPath; |
AtoE((char *)tmp); | AtoE((char *)tmp); |
|
|
| |
inline Boolean OpenAppend(PEGASUS_STD(ofstream)& os, const String& path) | inline Boolean OpenAppend(PEGASUS_STD(ofstream)& os, const String& path) |
{ | { |
#if defined(PEGASUS_OS_OS400) && defined(DAVES_CHANGES) |
#if defined(PEGASUS_OS_OS400) |
CString tempPath = path.getCString(); | CString tempPath = path.getCString(); |
const char * tmp = tempPath; | const char * tmp = tempPath; |
AtoE((char *)tmp); | AtoE((char *)tmp); |