- Timestamp:
- May 18, 2006, 11:13:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/file.cc
r7673 r7674 200 200 bool File::isDirectory() const 201 201 { 202 // checking for the termination of the string given. If there is a "/" at the end cut it away203 //if (this->_name[this->_name.size()-1] == '/' ||204 // this->_name[this->_name.size()-1] == '\\')205 //{206 // tmpDirName.erase(tmpDirName.size()-1);207 //}208 printf("DIR IS: %s ", this->name().c_str());209 if (this->_status)210 printf("OK\n");211 else212 printf("FUCK\n");213 214 202 return (this->_status != NULL && this->_status->st_mode & (S_IFDIR)); 215 203 }
Note: See TracChangeset
for help on using the changeset viewer.