[sword-cvs] sword/src/keys treekeyidx.cpp,1.17,1.18
sword at www.crosswire.org
sword at www.crosswire.org
Sun May 16 13:59:07 MST 2004
Committed by: scribe
Update of /cvs/core/sword/src/keys
In directory www:/tmp/cvs-serv21967/src/keys
Modified Files:
treekeyidx.cpp
Log Message:
no message
Index: treekeyidx.cpp
===================================================================
RCS file: /cvs/core/sword/src/keys/treekeyidx.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- treekeyidx.cpp 2 Apr 2004 23:54:45 -0000 1.17
+++ treekeyidx.cpp 16 May 2004 20:59:04 -0000 1.18
@@ -30,6 +30,7 @@
#else
#include <unistd.h>
#endif
+#include <swlog.h>
SWORD_NAMESPACE_START
@@ -67,8 +68,7 @@
datfd = FileMgr::getSystemFileMgr()->open(buf, fileMode|O_BINARY, true);
if (datfd <= 0) {
- buf.setFormatted("Error: %d", errno);
- perror(buf);
+ SWLog::getSystemLog()->logError("%d", errno);
error = errno;
}
else {
More information about the sword-cvs
mailing list