Bug #277 » 0001-xmlcmd_lxml.c-use-GWEN_Text_strndup.patch
| src/xmlcmd/xmlcmd_lxml.c | ||
|---|---|---|
|
#include "xmlcmd_lxml_p.h"
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <gwenhywfar/text.h>
|
||
|
#include <ctype.h>
|
||
| ... | ... | |
|
int idx;
|
||
|
idx=s-source;
|
||
|
ts->string1=strndup(source, idx);
|
||
|
ts->string1=GWEN_Text_strndup(source, idx);
|
||
|
ts->ownStringsBitmap|=1;
|
||
|
s++;
|
||
|
if (s &&*s)
|
||