[sword-cvs] sword/src/modules/texts/rawtext rawtext.cpp,1.62,1.63
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 26 Jun 2003 18:41:11 -0700
- Previous message: [sword-cvs] sword/src/mgr encfiltmgr.cpp,1.3,1.4 filemgr.cpp,1.24,1.25 installmgr.cpp,1.5,1.6 localemgr.cpp,1.14,1.15 swconfig.cpp,1.12,1.13 swmgr.cpp,1.90,1.91 swsourcemgr.cpp,1.1,1.2
- Next message: [sword-cvs] sword/src/utilfuns Greek2Greek.cpp,1.2,1.3 roman.cpp,1.2,1.3 swbuf.cpp,1.9,1.10 swversion.cpp,1.4,1.5 utilconf.cpp,1.2,1.3 utilstr.cpp,1.23,1.24 utilweb.cpp,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/sword/src/modules/texts/rawtext
In directory www:/tmp/cvs-serv19920/src/modules/texts/rawtext
Modified Files:
rawtext.cpp
Log Message:
no message
Index: rawtext.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/texts/rawtext/rawtext.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** rawtext.cpp 19 Jun 2003 16:58:30 -0000 1.62
--- rawtext.cpp 27 Jun 2003 01:41:08 -0000 1.63
***************
*** 14,18 ****
#endif
- #include <string>
#include <utilfuns.h>
#include <rawverse.h>
--- 14,17 ----
***************
*** 28,32 ****
#endif
- using std::string;
using std::map;
using std::list;
--- 27,30 ----
***************
*** 35,39 ****
SWORD_NAMESPACE_START
! typedef map < string, list<long> > strlist;
typedef list<long> longlist;
--- 33,37 ----
SWORD_NAMESPACE_START
! typedef map < SWBuf, list<long> > strlist;
typedef list<long> longlist;
***************
*** 50,54 ****
RawVerse(ipath) {
! string fname;
fname = path;
char ch = fname.c_str()[strlen(fname.c_str())-1];
--- 48,52 ----
RawVerse(ipath) {
! SWBuf fname;
fname = path;
char ch = fname.c_str()[strlen(fname.c_str())-1];
***************
*** 58,62 ****
for (int loop = 0; loop < 2; loop++) {
fastSearch[loop] = 0;
! string fastidxname =(fname + ((loop)?"ntwords.dat":"otwords.dat"));
if (!access(fastidxname.c_str(), 04)) {
fastidxname = (fname + ((loop)?"ntwords.idx":"otwords.idx"));
--- 56,60 ----
for (int loop = 0; loop < 2; loop++) {
fastSearch[loop] = 0;
! SWBuf fastidxname =(fname + ((loop)?"ntwords.dat":"otwords.dat"));
if (!access(fastidxname.c_str(), 04)) {
fastidxname = (fname + ((loop)?"ntwords.idx":"otwords.idx"));
***************
*** 149,153 ****
// containing every module position that contains
// the word. [0] Old Testament; [1] NT
! map < string, list<long> > dictionary[2];
--- 147,151 ----
// containing every module position that contains
// the word. [0] Old Testament; [1] NT
! map < SWBuf, list<long> > dictionary[2];
***************
*** 212,216 ****
unsigned short size;
! string fname;
fname = path;
char ch = fname.c_str()[strlen(fname.c_str())-1];
--- 210,214 ----
unsigned short size;
! SWBuf fname;
fname = path;
char ch = fname.c_str()[strlen(fname.c_str())-1];
- Previous message: [sword-cvs] sword/src/mgr encfiltmgr.cpp,1.3,1.4 filemgr.cpp,1.24,1.25 installmgr.cpp,1.5,1.6 localemgr.cpp,1.14,1.15 swconfig.cpp,1.12,1.13 swmgr.cpp,1.90,1.91 swsourcemgr.cpp,1.1,1.2
- Next message: [sword-cvs] sword/src/utilfuns Greek2Greek.cpp,1.2,1.3 roman.cpp,1.2,1.3 swbuf.cpp,1.9,1.10 swversion.cpp,1.4,1.5 utilconf.cpp,1.2,1.3 utilstr.cpp,1.23,1.24 utilweb.cpp,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]