Changeset 8276 in orxonox.OLD for trunk/src/lib/util/file.cc
- Timestamp:
- Jun 8, 2006, 5:21:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/file.cc
r7674 r8276 160 160 { 161 161 #warning implement 162 return false; 162 163 } 163 164 … … 165 166 { 166 167 #warning implement 168 return false; 167 169 } 168 170 … … 249 251 oFile.put(ch); 250 252 } 253 return true; 251 254 } 252 255 … … 298 301 bool File::remove() 299 302 { 303 if (!this->exists()) 304 return false; 305 300 306 this->close(); 301 307 unlink(this->_name.c_str()); 302 308 delete this->_status; 303 309 this->_status = NULL; 310 311 return true; 304 312 } 305 313
Note: See TracChangeset
for help on using the changeset viewer.