Hum, that's not clean. I guess it's rather 382: return((char*)xmlCharStrdup(line_read)); but is the casting OK? <<xmllint.diff>>
-----Original Message----- From: Henke, Markus Sent: Thursday, December 13, 2001 2:13 PM To: 'xml gnome org' Subject: Use of 'strdup' in 'xmllint.c' Hello, in 'xmllint.c' (libxml2-2.4.12) we have 382: return(strtrdup(line_read)); Am i right that it should be 382: return(xmlStrdup(line_read)); ? << File: xmllint.diff >> Mit freundlichen Gruessen - Kind regards Markus Henke ________________________Addressed by:________________________ ORDAT GmbH & Co. KG - Serversystems / eCom Dipl.-Inf. (FH) Markus Henke Fon: +49 (641) 7941-0 Rathenaustr. 1 Fax: +49 (641) 7941-132 35394 Gießen mailto:markus henke ordat com See: http://www.ordat.com _____________________________________________________________ ...this behavior is by design...
Attachment:
xmllint.diff
Description: Binary data