version 1.15, 2003/10/22 14:26:13
|
version 1.16, 2004/04/14 19:25:58
|
|
|
// Open the password file | // Open the password file |
// | // |
#if defined(PEGASUS_OS_OS400) | #if defined(PEGASUS_OS_OS400) |
ifstream ifs(_passwordFile.getCStringUTF8(), PEGASUS_STD(_CCSID_T(1208))); |
ifstream ifs(_passwordFile.getCString(), PEGASUS_STD(_CCSID_T(1208))); |
#else | #else |
ifstream ifs(_passwordFile.getCStringUTF8()); |
ifstream ifs(_passwordFile.getCString()); |
#endif | #endif |
if (!ifs) | if (!ifs) |
{ | { |
|
|
// Open the password file for writing | // Open the password file for writing |
// | // |
#if defined(PEGASUS_OS_OS400) | #if defined(PEGASUS_OS_OS400) |
ofstream ofs(_passwordFile.getCStringUTF8(), PEGASUS_STD(_CCSID_T(1208))); |
ofstream ofs(_passwordFile.getCString(), PEGASUS_STD(_CCSID_T(1208))); |
#else | #else |
ofstream ofs(_passwordFile.getCStringUTF8()); |
ofstream ofs(_passwordFile.getCString()); |
#endif | #endif |
if (!ofs) | if (!ofs) |
{ | { |