Subject: | fallback definition of SvIsCOW() is wrong (and hence breaks on 5.8.2 and earlier) |
The fallback definition of SvIsCOW() added in (I think) 2.53 is wrong, and
breaks the build if it is needed (perl 5.8.2 and earlier)
I don't think that anyone is upgrading Encode on these rather old versions of
Perl 5 :-)
Patch attached corrects it.
Nicholas Clark
Subject: | SvIsCOW.patch |
--- Encode.xs~ 2014-04-29 18:25:15.000000000 +0200
+++ Encode.xs 2014-05-08 15:01:11.753803181 +0200
@@ -840,7 +840,7 @@
RETVAL
#ifndef SvIsCOW
-# define SvIsCOW (SvREADONLY(sv) && SvFAKE(sv))
+# define SvIsCOW(sv) (SvREADONLY(sv) && SvFAKE(sv))
#endif
SV *