Re: [xml] RE: Use of 'strdup' in 'xmllint.c'
- From: Daniel Veillard <veillard redhat com>
- To: "Henke, Markus" <Markus_Henke ordat com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] RE: Use of 'strdup' in 'xmllint.c'
- Date: Thu, 13 Dec 2001 09:03:48 -0500
On Thu, Dec 13, 2001 at 02:57:00PM +0100, Henke, Markus wrote:
Hum, that's not clean.
I guess it's rather
382: return((char*)xmlCharStrdup(line_read));
No xmlStrdup() is really the main API to use. the cast is fine.
Change made, thanks for pointing this !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]