Changeset 478 for trunk


Ignore:
Timestamp:
1999-08-31T20:00:43+12:00 (25 years ago)
Author:
rjmcnab
Message:

Fixed a windows specific error in the file_exists function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/fileutil.cpp

    r224 r478  
    1212/*
    1313   $Log$
     14   Revision 1.7  1999/08/31 08:00:43  rjmcnab
     15   Fixed a windows specific error in the file_exists function.
     16
    1417   Revision 1.6  1999/04/06 22:16:49  rjmcnab
    1518   Added more options for filename_cat.
     
    100103bool file_exists (const text_t &filename) {
    101104  char *cstr = filename.getcstr();
    102   ifstream filestream (cstr);
     105  ifstream filestream (cstr, ios::in | ios::nocreate);
    103106  delete cstr;
    104107
Note: See TracChangeset for help on using the changeset viewer.