don't test existence of file in AmigaOSFilesystemNode::getChild (bug #2487481)

svn-id: r36171
This commit is contained in:
Willem Jan Palenstijn 2009-02-01 09:49:24 +00:00
parent b1c58328a5
commit 6abcac40de

View File

@ -316,14 +316,6 @@ AbstractFSNode *AmigaOSFilesystemNode::getChild(const Common::String &n) const {
newPath += '/';
newPath += n;
BPTR lock = IDOS->Lock(newPath.c_str(), SHARED_LOCK);
if (!lock) {
debug(6, "Bad path");
return 0;
}
IDOS->UnLock(lock);
LEAVE();
return new AmigaOSFilesystemNode(newPath);