Ticket #9164: fs.cpp.patch
File fs.cpp.patch, 1.3 KB (added by , 15 years ago) |
---|
-
fs.cpp
132 132 return 0; 133 133 134 134 if (!_realNode->exists()) { 135 warning("FSNode::createReadStream: FSNode does not exist");135 warning("FSNode::createReadStream: '%s' does not exist", getName().c_str()); 136 136 return false; 137 137 } else if (_realNode->isDirectory()) { 138 warning("FSNode::createReadStream: FSNode is a directory");138 warning("FSNode::createReadStream: '%s' is a directory", getName().c_str()); 139 139 return false; 140 140 } 141 141 … … 147 147 return 0; 148 148 149 149 if (_realNode->isDirectory()) { 150 warning("FSNode::createWriteStream: FSNode is a directory");150 warning("FSNode::createWriteStream: '%s' is a directory", getName().c_str()); 151 151 return 0; 152 152 } 153 153 … … 215 215 FSNode *node = lookupCache(_fileCache, name); 216 216 217 217 if (!node || !node->exists()) { 218 warning("FSDirectory::getMember: FSNode does not exist");218 warning("FSDirectory::getMember: '%s' does not exist", name.c_str()); 219 219 return ArchiveMemberPtr(); 220 220 } else if (node->isDirectory()) { 221 warning("FSDirectory::getMember: FSNode is a directory");221 warning("FSDirectory::getMember: '%s' is a directory", name.c_str()); 222 222 return ArchiveMemberPtr(); 223 223 } 224 224