[sword-cvs] sword/src/modules/genbook/rawgenbook rawgenbook.cpp,1.13,1.14
sword@www.crosswire.org
sword@www.crosswire.org
Fri, 6 Feb 2004 14:01:04 -0700
- Previous message: [sword-cvs] sword/src/modules/filters gbfosis.cpp,1.17,1.18 thmlosis.cpp,1.25,1.26 utf8transliterator.cpp,1.31,1.32
- Next message: [sword-cvs] sword/tests keytest.cpp,1.8,1.9 localetest.cpp,1.10,1.11 parsekey.cpp,1.12,1.13 rawldidxtest.cpp,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/core/sword/src/modules/genbook/rawgenbook
In directory www:/tmp/cvs-serv27118/src/modules/genbook/rawgenbook
Modified Files:
rawgenbook.cpp
Log Message:
Changed system[Log|File|Locale]Mgr to
*Mgr *[get|set]System*Mgr() per Daniel Glassey's
discovery of potential problems from order of
initializing statics.
Added new prefix recognition for OSIS lemma prefix
"strong:"
Index: rawgenbook.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/genbook/rawgenbook/rawgenbook.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- rawgenbook.cpp 16 Jan 2004 03:42:42 -0000 1.13
+++ rawgenbook.cpp 6 Feb 2004 21:01:02 -0000 1.14
@@ -48,7 +48,7 @@
sprintf(buf, "%s.bdt", path);
- bdtfd = FileMgr::systemFileMgr.open(buf, fileMode|O_BINARY, true);
+ bdtfd = FileMgr::getSystemFileMgr()->open(buf, fileMode|O_BINARY, true);
delete [] buf;
@@ -61,7 +61,7 @@
RawGenBook::~RawGenBook() {
- FileMgr::systemFileMgr.close(bdtfd);
+ FileMgr::getSystemFileMgr()->close(bdtfd);
if (path)
delete [] path;
@@ -191,9 +191,9 @@
sprintf(buf, "%s.bdt", path);
FileMgr::removeFile(buf);
- fd = FileMgr::systemFileMgr.open(buf, O_CREAT|O_WRONLY|O_BINARY, S_IREAD|S_IWRITE);
+ fd = FileMgr::getSystemFileMgr()->open(buf, O_CREAT|O_WRONLY|O_BINARY, S_IREAD|S_IWRITE);
fd->getFd();
- FileMgr::systemFileMgr.close(fd);
+ FileMgr::getSystemFileMgr()->close(fd);
retval = TreeKeyIdx::create(path);
delete [] path;
- Previous message: [sword-cvs] sword/src/modules/filters gbfosis.cpp,1.17,1.18 thmlosis.cpp,1.25,1.26 utf8transliterator.cpp,1.31,1.32
- Next message: [sword-cvs] sword/tests keytest.cpp,1.8,1.9 localetest.cpp,1.10,1.11 parsekey.cpp,1.12,1.13 rawldidxtest.cpp,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]