Re: [xml] RE: Use of 'strdup' in 'xmllint.c'



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]