version 1.1.2.1, 2001/08/21 00:30:21
|
version 1.1.2.2, 2001/10/30 00:48:04
|
|
|
if (FileSystem::existsNoCase(path, realPath)) | if (FileSystem::existsNoCase(path, realPath)) |
{ | { |
ArrayDestroyer<char> p(realPath.allocateCString()); | ArrayDestroyer<char> p(realPath.allocateCString()); |
ifstream is(p.getPointer()); |
ifstream is(p.getPointer(), ios::binary); |
| |
if (!is) | if (!is) |
{ | { |
|
|
// open the instance file | // open the instance file |
// | // |
ArrayDestroyer<char> p(path.allocateCString()); | ArrayDestroyer<char> p(path.allocateCString()); |
ifstream is(p.getPointer(), ios::in); |
ifstream is(p.getPointer(), ios::in | ios::binary); |
| |
if (!is) | if (!is) |
{ | { |
|
|
// Open the instance file | // Open the instance file |
// | // |
ArrayDestroyer<char> q(realPath.allocateCString()); | ArrayDestroyer<char> q(realPath.allocateCString()); |
ifstream is(q.getPointer(), ios::in); |
ifstream is(q.getPointer(), ios::in | ios::binary); |
| |
if (!is) | if (!is) |
{ | { |