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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Expand "git co" in pod/perlhack.pod
[perl5.git]
/
pp_pack.c
diff --git
a/pp_pack.c
b/pp_pack.c
index
5229fc3
..
c62754f
100644
(file)
--- a/
pp_pack.c
+++ b/
pp_pack.c
@@
-1660,7
+1660,7
@@
S_unpack_rec(pTHX_ tempsym_t* symptr, const char *s, const char *strbeg, const c
break;
case 'U':
if (len == 0) {
- if (explicit_length) {
+ if (explicit_length
&& howlen != e_star
) {
/* Switch to "bytes in UTF-8" mode */
if (symptr->flags & FLAG_DO_UTF8) utf8 = 0;
else