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 Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]