Changeset 2275 for box/trunk/lib/common/FileStream.h
- Timestamp:
- 07/09/2008 14:20:14 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/lib/common/FileStream.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/common/FileStream.h
r2243 r2275 39 39 #endif 40 40 int mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)); 41 42 // Ensure that const char * name doesn't end up as a handle 43 // on Windows! 44 45 FileStream(const char *pFilename, 46 #ifdef WIN32 47 int flags = (O_RDONLY | O_BINARY), 48 #else 49 int flags = O_RDONLY, 50 #endif 51 int mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)); 52 41 53 FileStream(tOSFileHandle FileDescriptor); 42 54 … … 57 69 bool mIsEOF; 58 70 FileStream(const FileStream &rToCopy) { /* do not call */ } 71 void AfterOpen(); 59 72 60 73 // for debugging..
Note: See TracChangeset
for help on using the changeset viewer.
