[sword-cvs] sword/src/utilfuns utilstr.cpp,1.21,1.22 utilxml.cpp,1.5,1.6
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 19 Jun 2003 09:58:32 -0700
- Previous message: [sword-cvs] sword/src/modules/texts/rawtext rawtext.cpp,1.61,1.62
- Next message: [sword-cvs] sword/locales.d da.conf,1.2,1.3 de_abbrev.conf,1.2,1.3 pl.conf,1.2,1.3 ru_RU-cp1251.conf,1.1,1.2 ru_RU-koi8-r.conf,1.1,1.2 uk_UA-cp1251.conf,1.1,1.2 uk_UA-koi8-u.conf,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/sword/src/utilfuns
In directory www:/tmp/cvs-serv19591/src/utilfuns
Modified Files:
utilstr.cpp utilxml.cpp
Log Message:
no message
Index: utilstr.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/utilfuns/utilstr.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** utilstr.cpp 1 Oct 2002 19:52:41 -0000 1.21
--- utilstr.cpp 19 Jun 2003 16:58:30 -0000 1.22
***************
*** 31,35 ****
delete [] *ipstr;
int len = strlen(istr) + 1;
! *ipstr = new char [ len*2 ]; // *2 buffer for unicode manipulations
memcpy(*ipstr, istr, len);
}
--- 31,35 ----
delete [] *ipstr;
int len = strlen(istr) + 1;
! *ipstr = new char [ len ];
memcpy(*ipstr, istr, len);
}
Index: utilxml.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/utilfuns/utilxml.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** utilxml.cpp 18 Jun 2003 20:15:00 -0000 1.5
--- utilxml.cpp 19 Jun 2003 16:58:30 -0000 1.6
***************
*** 43,46 ****
--- 43,48 ----
}
}
+ if (!buf[i])
+ break;
}
parsed = true;
***************
*** 63,67 ****
if (buf) {
! delete buf;
buf = 0;
}
--- 65,69 ----
if (buf) {
! delete [] buf;
buf = 0;
}
- Previous message: [sword-cvs] sword/src/modules/texts/rawtext rawtext.cpp,1.61,1.62
- Next message: [sword-cvs] sword/locales.d da.conf,1.2,1.3 de_abbrev.conf,1.2,1.3 pl.conf,1.2,1.3 ru_RU-cp1251.conf,1.1,1.2 ru_RU-koi8-r.conf,1.1,1.2 uk_UA-cp1251.conf,1.1,1.2 uk_UA-koi8-u.conf,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]