HTML-Parser-3.16
Gisle Aas (gisle@activestate.com)
23 Feb 2001 10:09:15 -0800
HTML-Parser-3.16 should now be on CPAN. Changes since 3.15 are:
The unbroken_text option now works across ignored tags.
Fix casting of pointers on some 64 bit platforms.
Fix decoding of Unicode entities. Only optionally available for
perl-5.7.0 or better.
Unfortunately I just discovered that HTML-Parser will not build on
some configurations of perl unless you apply this patch. Expect 3.17
to go out real soon :-(
Regards,
Gisle
--- util.c.dist Fri Feb 23 09:59:27 2001
+++ util.c Fri Feb 23 10:01:13 2001
@@ -40,7 +40,7 @@
}
static void
-grow_gap(SV* sv, STRLEN grow, char** t, char** s, char** e)
+grow_gap(pTHX_ SV* sv, STRLEN grow, char** t, char** s, char** e)
{
/*
SvPVX ---> AAAAAA...BBBBBB
@@ -181,7 +181,7 @@
/* XXX It might already be enough gap, so we don't need this,
but it should not hurt either.
*/
- grow_gap(sv, grow, &t, &s, &end);
+ grow_gap(aTHX_ sv, grow, &t, &s, &end);
Copy(ustr, SvPVX(sv), len, char);
t = SvPVX(sv) + len;
}
@@ -197,7 +197,7 @@
if (t + repl_len > s) {
/* need to grow the string */
- grow_gap(sv, repl_len - (s - t), &t, &s, &end);
+ grow_gap(aTHX_ sv, repl_len - (s - t), &t, &s, &end);
}
/* copy replacement string into string */