Re: [xml] xmlReallocLoc() does not accept NULL as first parameter
- From: Daniel Veillard <veillard redhat com>
- To: Aleksey Sanin <aleksey aleksey com>
- Cc: xml gnome org, Rob Richards <rrichards ctindustries net>
- Subject: Re: [xml] xmlReallocLoc() does not accept NULL as first parameter
- Date: Thu, 22 Jan 2004 16:30:50 -0500
On Thu, Jan 22, 2004 at 01:25:44PM -0800, Aleksey Sanin wrote:
hum ... HTML only mail ?
Ups, sorry. One more time.
Daniel,
xmlReallocLoc() returns NULL if the first parameter is NULL. In comparison,
realloc() function just allocates a new block of memory. The documentation
for xmlRealloc() says that it is "a realloc() equivalent" thus I wonder if it would
be possible to change the xmlReallocLoc() behaiviour?
Yes, go for it, please commit,
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]