diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-03-05 10:34:05 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-04-17 14:06:53 -0600 |
commit | a099aed4f4cbb1c9ea2766707caa76d250e3b25a (patch) | |
tree | c9979874e40e2ee6c172dc3e85b98bb61d097921 /doio.c | |
parent | 65c512c3519b68852f64f5e1293cebadee892115 (diff) | |
download | perl-a099aed4f4cbb1c9ea2766707caa76d250e3b25a.tar.gz |
PATCH: [perl #111338] Warnings in utf8 subcategories do nothing in isolation
This was the result of assuming that these would not be on unless
the main category was also on.
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1225,7 +1225,7 @@ Perl_do_print(pTHX_ register SV *sv, PerlIO *fp) tmpbuf = bytes_to_utf8((const U8*) tmps, &len); tmps = (char *) tmpbuf; } - else if (ckWARN_d(WARN_UTF8)) { + else if (ckWARN4_d(WARN_UTF8, WARN_SURROGATE, WARN_NON_UNICODE, WARN_NONCHAR)) { (void) check_utf8_print((const U8*) tmps, len); } } |