Commit a3db2e37 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fixed a bug newly introduced and pointed by Uwe Fechner in xmlCopyProp()

* tree.c: fixed a bug newly introduced and pointed by Uwe Fechner
  in xmlCopyProp()
Daniel
parent af43f63a
Fri Mar 8 16:45:55 CET 2002 Daniel Veillard <daniel@veillard.com>
* tree.c: fixed a bug newly introduced and pointed by Uwe Fechner
in xmlCopyProp()
Fri Mar 8 15:49:10 CET 2002 Daniel Veillard <daniel@veillard.com>
* configure.in: preparing 2.4.17 release
......
......@@ -36,6 +36,12 @@
/* Define if you have the fprintf function. */
#undef HAVE_FPRINTF
/* Define if you have the ftime function. */
#undef HAVE_FTIME
/* Define if you have the gettimeofday function. */
#undef HAVE_GETTIMEOFDAY
/* Define if you have the isnand function. */
#undef HAVE_ISNAND
......@@ -162,6 +168,9 @@
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/timeb.h> header file. */
#undef HAVE_SYS_TIMEB_H
/* Define if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
......
......@@ -2890,7 +2890,8 @@ xmlCopyProp(xmlNodePtr target, xmlAttrPtr cur) {
/*
* Try to handle IDs
*/
if ((target->doc != NULL) && (cur->doc != NULL) &&
if ((target!= NULL) && (cur!= NULL) &&
(target->doc != NULL) && (cur->doc != NULL) &&
(cur->doc->ids != NULL) && (cur->parent != NULL)) {
if (xmlIsID(cur->doc, cur->parent, cur)) {
xmlChar *id;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment