Bug in PHP

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

 



This is a multi-part message in MIME format.

------=_NextPart_000_001D_01C1A4E0.548F6DC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I'm sure you guys are working on packages for php 4.1.1.  I've got packages
built, and in the process found a bug in the DOMXML portion where comment
nodes node type setting was not being set.  I've submitted the patch to the
php developers, but thought maybe I should give it to you guys as well.
It's attached.

Joseph

P.S. If this isn't the right forum for doing this, please redirect me
elsewhere.

------=_NextPart_000_001D_01C1A4E0.548F6DC0
Content-Type: application/octet-stream;
	name="php-4.1.1-domxml-mico.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="php-4.1.1-domxml-mico.patch"

--- php-4.1.1/ext/domxml/php_domxml.c	Fri Dec 14 05:45:46 2001=0A=
+++ ../php-4.1.1-changed/ext/domxml/php_domxml.c	Tue Jan  8 14:42:58 2002=0A=
@@ -796,6 +796,7 @@=0A=
 			rsrc_type =3D le_domxmlcommentp;=0A=
 			content =3D xmlNodeGetContent(nodep);=0A=
 			if (content)=0A=
+				add_property_long(wrapper, "type", Z_TYPE_P(nodep));=0A=
 				add_property_stringl(wrapper, "content", (char *) content, =
strlen(content), 1);=0A=
 			break;=0A=
 		}=0A=

------=_NextPart_000_001D_01C1A4E0.548F6DC0--





[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux