Hello,

On 2025/04/14 22:22, Kurt Jaeger wrote:
> Hi!
> 
>>> Still, there are no updates for lang/perl5.36, 38 or 40.
> 
> According to
> 
> https://www.cpan.org/src/README.html
> 
> 5.36.3 is End of life.

Although 5.36.x won't fix in upstream, the patch

https://github.com/Perl/perl5/commit/87f42aa0e0096e9a346c9672aa3a0bd3bef8c1dd.patch

can be applied against 3.36.3 with offsets.

[[[
diff --git a/op.c b/op.c
--- ./op.c.orig 2023-11-28 20:57:24.000000000 +0900
+++ ./op.c      2025-04-14 23:57:29.349715000 +0900
@@ -7605,6 +7605,7 @@ S_pmtrans(pTHX_ OP *o, OP *expr, OP *repl)
                  * same time.  But otherwise one crosses before the other */
                 if (t_cp < 256 && r_cp_end > 255 && r_cp != t_cp) {
                     can_force_utf8 = TRUE;
+                    max_expansion = MAX(2, max_expansion);
                 }
             }

]]]

-- 
Yasuhito FUTATSUKI <futat...@bsdclub.org>


Reply via email to