Ticket #9164: fs.cpp.patch

File fs.cpp.patch, 1.3 KB (added by SF/vgvgf, 15 years ago)

Proposed patch for bug #2983718

  • fs.cpp

     
    132132                return 0;
    133133
    134134        if (!_realNode->exists()) {
    135                 warning("FSNode::createReadStream: FSNode does not exist");
     135        warning("FSNode::createReadStream: '%s' does not exist", getName().c_str());
    136136                return false;
    137137        } else if (_realNode->isDirectory()) {
    138                 warning("FSNode::createReadStream: FSNode is a directory");
     138                warning("FSNode::createReadStream: '%s' is a directory", getName().c_str());
    139139                return false;
    140140        }
    141141
     
    147147                return 0;
    148148
    149149        if (_realNode->isDirectory()) {
    150                 warning("FSNode::createWriteStream: FSNode is a directory");
     150                warning("FSNode::createWriteStream: '%s' is a directory", getName().c_str());
    151151                return 0;
    152152        }
    153153
     
    215215        FSNode *node = lookupCache(_fileCache, name);
    216216
    217217        if (!node || !node->exists()) {
    218                 warning("FSDirectory::getMember: FSNode does not exist");
     218                warning("FSDirectory::getMember: '%s' does not exist", name.c_str());
    219219                return ArchiveMemberPtr();
    220220        } else if (node->isDirectory()) {
    221                 warning("FSDirectory::getMember: FSNode is a directory");
     221                warning("FSDirectory::getMember: '%s' is a directory", name.c_str());
    222222                return ArchiveMemberPtr();
    223223        }
    224224