[Scummvm-cvs-logs] SF.net SVN: scummvm:[33307] residual/trunk/engine/backend/fs/amigaos4/ amigaos4-fs.cpp
aquadran at users.sourceforge.net
aquadran at users.sourceforge.net
Sat Jul 26 20:01:42 CEST 2008
Revision: 33307
http://scummvm.svn.sourceforge.net/scummvm/?rev=33307&view=rev
Author: aquadran
Date: 2008-07-26 18:01:42 +0000 (Sat, 26 Jul 2008)
Log Message:
-----------
disable debugs
Modified Paths:
--------------
residual/trunk/engine/backend/fs/amigaos4/amigaos4-fs.cpp
Modified: residual/trunk/engine/backend/fs/amigaos4/amigaos4-fs.cpp
===================================================================
--- residual/trunk/engine/backend/fs/amigaos4/amigaos4-fs.cpp 2008-07-26 17:56:00 UTC (rev 33306)
+++ residual/trunk/engine/backend/fs/amigaos4/amigaos4-fs.cpp 2008-07-26 18:01:42 UTC (rev 33307)
@@ -123,7 +123,7 @@
int offset = str.size();
if (offset <= 0) {
- debug(6, "Bad offset");
+ //debug(6, "Bad offset");
return 0;
}
@@ -156,7 +156,7 @@
//assert(offset > 0);
if (offset <= 0) {
- debug(6, "Bad offset");
+ //debug(6, "Bad offset");
return;
}
@@ -167,7 +167,7 @@
struct FileInfoBlock *fib = (struct FileInfoBlock *)IDOS->AllocDosObject(DOS_FIB, NULL);
if (!fib) {
- debug(6, "FileInfoBlock is NULL");
+ //debug(6, "FileInfoBlock is NULL");
LEAVE();
return;
}
@@ -215,7 +215,7 @@
if (IDOS->IoErr() != ERROR_LINE_TOO_LONG) {
_bIsValid = false;
- debug(6, "IoErr() != ERROR_LINE_TOO_LONG");
+ //debug(6, "IoErr() != ERROR_LINE_TOO_LONG");
LEAVE();
delete[] n;
return;
@@ -230,7 +230,7 @@
struct FileInfoBlock *fib = (struct FileInfoBlock *)IDOS->AllocDosObject(DOS_FIB, NULL);
if (!fib) {
- debug(6, "FileInfoBlock is NULL");
+ //debug(6, "FileInfoBlock is NULL");
LEAVE();
return;
}
@@ -282,7 +282,7 @@
struct FileInfoBlock *fib = (struct FileInfoBlock *)IDOS->AllocDosObject(DOS_FIB, NULL);
if (!fib) {
- debug(6, "FileInfoBlock is NULL");
+ //debug(6, "FileInfoBlock is NULL");
LEAVE();
return false;
}
@@ -302,7 +302,7 @@
AbstractFilesystemNode *AmigaOSFilesystemNode::getChild(const String &n) const {
ENTER();
if (!_bIsDirectory) {
- debug(6, "Not a directory");
+ //debug(6, "Not a directory");
return 0;
}
@@ -315,7 +315,7 @@
BPTR lock = IDOS->Lock(newPath.c_str(), SHARED_LOCK);
if (!lock) {
- debug(6, "Bad path");
+ //debug(6, "Bad path");
return 0;
}
@@ -331,19 +331,19 @@
//TODO: honor the hidden flag
if (!_bIsValid) {
- debug(6, "Invalid node");
+ //debug(6, "Invalid node");
LEAVE();
return false; // Empty list
}
if (!_bIsDirectory) {
- debug(6, "Not a directory");
+ //debug(6, "Not a directory");
LEAVE();
return false; // Empty list
}
if (_pFileLock == 0) {
- debug(6, "Root node");
+ //debug(6, "Root node");
LEAVE();
myList = listVolumes();
return true;
@@ -412,7 +412,7 @@
int fibProt = -1;
struct FileInfoBlock *fib = (struct FileInfoBlock *)IDOS->AllocDosObject(DOS_FIB, NULL);
if (!fib) {
- debug(6, "FileInfoBlock is NULL");
+ //debug(6, "FileInfoBlock is NULL");
LEAVE();
return fibProt;
}
@@ -434,13 +434,13 @@
ENTER();
if (!_bIsDirectory) {
- debug(6, "Not a directory");
+ //debug(6, "Not a directory");
LEAVE();
return 0;
}
if (_pFileLock == 0) {
- debug(6, "Root node");
+ //debug(6, "Root node");
LEAVE();
return new AmigaOSFilesystemNode(*this);
}
@@ -502,7 +502,7 @@
struct DosList *dosList = IDOS->LockDosList(kLockFlags);
if (!dosList) {
- debug(6, "Cannot lock the DOS list");
+ //debug(6, "Cannot lock the DOS list");
LEAVE();
return myList;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list