This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eaf799
)
sv.h: Expand comment about potential SVf_UTF8 conflict
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 1 Sep 2014 01:05:49 +0000
(18:05 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 15 Sep 2014 13:19:32 +0000
(06:19 -0700)
sv.h
patch
|
blob
|
blame
|
history
diff --git
a/sv.h
b/sv.h
index
d71b9fd
..
17a9532
100644
(file)
--- a/
sv.h
+++ b/
sv.h
@@
-408,7
+408,8
@@
perform the upgrade if necessary. See C<svtype>.
/* note that SVf_AMAGIC is now only set on stashes, so this bit is free
* for non-HV SVs */
-/* Ensure this value does not clash with the GV_ADD* flags in gv.h: */
+/* Ensure this value does not clash with the GV_ADD* flags in gv.h, or the
+ CV_CKPROTO_* flags in op.c, or the padadd_* flags in pad.h: */
#define SVf_UTF8 0x20000000 /* SvPV is UTF-8 encoded
This is also set on RVs whose overloaded
stringification is UTF-8. This might