|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
From cfaedb2beda37cbc3575ee818c3c83ea87673c32 Mon Sep 17 00:00:00 2001
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
From: Karl Williamson <khw@cpan.org>
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
Date: Wed, 14 Feb 2018 15:47:46 -0700
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
Subject: [PATCH] Fix https://rt.cpan.org/Ticket/Display.html?id=124399
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
MIME-Version: 1.0
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
Content-Type: text/plain; charset=UTF-8
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
Content-Transfer-Encoding: 8bit
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
Encode 2.95 broke this module, which is testing for a particular warning
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
message. It was not my intent to change any part of the API with the
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
commits that comprise 2.95, and it turns out that the message is
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
different only in one or two perl versions where an interaction with a
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
deprecation caused the new message to be displayed.
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
The commit here just keeps the old code being used into the 5.27 series.
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
It probably could work starting in 5.27.2, but its easier to use a
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
marker of the existence of a newer function, and since the affected
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
versions are all development releases, I went with the marker.
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
---
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
Encode.xs | 2 +-
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
diff --git a/Encode.xs b/Encode.xs
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
index 91c5257..13eb15d 100644
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
--- a/Encode.xs
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
+++ b/Encode.xs
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
@@ -387,7 +387,7 @@ strict_utf8(pTHX_ SV* sv)
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
}
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
/* Modern perls have the capability to do this more efficiently and portably */
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
-#ifdef is_utf8_string_loc_flags
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
+#ifdef utf8n_to_uvchr_msgs
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
# define CAN_USE_BASE_PERL
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
#endif
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
--
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
2.13.6
|
|
![](https://seccdn.libravatar.org/avatar/7b64540d61cb742c2384f9efbbdfaf5f91a89e5c58c0b1861e414ba49b507d8b?s=16&d=retro) |
e0d0841 |
|