Commits

Shlomi Fish  committed ad5dc8a

Fix compilation on Strawberry Perl.

  • Participants
  • Parent commits 53daf85

Comments (0)

Files changed (2)

 Revision history for Perl extension XML::LibXML
 
+    - Fix https://rt.cpan.org/Public/Bug/Display.html?id=69082 :
+        - Compilation on strawberry perl.
+        - The problem was that stderr required a dTHX; call previously.
+
 1.79            Fri Jul  8 20:02:32 IDT 2011
     - t/46err_column.t : add a skip for a test for CentOS/RHEL 4:
         - https://rt.cpan.org/Ticket/Display.html?id=69070

File perl-libxml-sax.c

 	int copied = 0;
 	struct CBufferChunk *cur;
 
+    /* We need this because stderr on some perls requires
+     * my_perl. See:
+     *
+     * https://rt.cpan.org/Public/Bug/Display.html?id=69082
+     *
+     * */
+	dTHX;
+
 	if (buffer->head->data == NULL) {
 		return NULL;
 	}