summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-06-23 12:57:54 -0600
committerKarl Williamson <public@khwilliamson.com>2012-06-29 22:22:40 -0600
commitbdd8600f35ec7851722b0fe8b4902e0e04ab2800 (patch)
tree6496d4e8e56d25152a3732a55d811bee1056db73 /sv.c
parentf74da94c18a7b3cbdb577015ae60665509e912e8 (diff)
downloadperl-bdd8600f35ec7851722b0fe8b4902e0e04ab2800.tar.gz
handy.h: Fix isBLANK_uni and isBLANK_utf8
These macros have never worked outside the Latin1 range, so this extends them to work. There are no tests I could find for things in handy.h, except that many of them are called all over the place during the normal course of events. This commit adds a new file for such testing, containing for now only with a few tests for the isBLANK's
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 7146f38688..8b054c1b17 100644
--- a/sv.c
+++ b/sv.c
@@ -13443,6 +13443,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
/* utf8 character class swashes */
PL_utf8_alnum = sv_dup_inc(proto_perl->Iutf8_alnum, param);
PL_utf8_alpha = sv_dup_inc(proto_perl->Iutf8_alpha, param);
+ PL_utf8_blank = sv_dup_inc(proto_perl->Iutf8_blank, param);
PL_utf8_space = sv_dup_inc(proto_perl->Iutf8_space, param);
PL_utf8_graph = sv_dup_inc(proto_perl->Iutf8_graph, param);
PL_utf8_digit = sv_dup_inc(proto_perl->Iutf8_digit, param);