Changeset 8227 in orxonox.OLD for branches/gui/src/lib/util
- Timestamp:
- Jun 8, 2006, 11:07:19 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/util/file.cc
r8226 r8227 251 251 oFile.put(ch); 252 252 } 253 return true; 253 254 } 254 255 … … 300 301 bool File::remove() 301 302 { 303 if (!this->exists()) 304 return false; 305 302 306 this->close(); 303 307 unlink(this->_name.c_str()); 304 308 delete this->_status; 305 309 this->_status = NULL; 310 311 return true; 306 312 } 307 313
Note: See TracChangeset
for help on using the changeset viewer.