[xslt] 1.0.11: .c literal patch
- From: Justin Fletcher <justin fletcher ntlworld com>
- To: xslt gnome org
- Subject: [xslt] 1.0.11: .c literal patch
- Date: Sat, 09 Feb 2002 04:54:28 GMT
Hiya,
Tiny patch; templates.c is passing in a "" string to xmlStrndup; I've
explicitly cast to an xmlChar *, but I think you've used BAD_CAST for these.
*** Original/libxslt/c/templates Wed Jan 16 03:55:08 2002
--- RISCOS/libxslt/c/templates Sat Feb 9 04:33:34 2002
***************
*** 218,224 ****
if (str == NULL) return(NULL);
if (*str == 0)
! return(xmlStrndup("", 0));
cur = str;
while (*cur != 0) {
--- 218,224 ----
if (str == NULL) return(NULL);
if (*str == 0)
! return(xmlStrndup((xmlChar*)"", 0));
cur = str;
while (*cur != 0) {
--
Gerph {djf0-.3w6e2w2.226,6q6w2q2,2.3,2m4}
URL: http://www.movspclr.co.uk/
... Eyes to the heavens, screaming at the sky;
Trying to send you messages, but choking on goodbye.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]