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
Merge branch 'crippled_locales' into blead
[perl5.git]
/
op.c
diff --git
a/op.c
b/op.c
index
2b162e1
..
75d25f3
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-17053,7
+17053,7
@@
Perl_dup_warnings(pTHX_ STRLEN* warnings)
Size_t size;
STRLEN *new_warnings;
- if (specialWARN(warnings))
+ if (
warnings == NULL ||
specialWARN(warnings))
return warnings;
size = sizeof(*warnings) + *warnings;