summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2000-02-25 01:24:53 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-24 23:46:27 +0000
commit806e72015c0c16d1c66452a28aa8fd6c6cc967c3 (patch)
treef8078ff397986a4bceadb65b4ccf79e69d2e9c8e /op.c
parent8d220878d77900dc1beb088892237bda615b1719 (diff)
downloadperl-806e72015c0c16d1c66452a28aa8fd6c6cc967c3.tar.gz
More UTF8_MAXLEN fixes
To: perl5-porters@perl.org Message-ID: <m3ema2tc8q.fsf@eik.g.aas.no> p4raw-id: //depot/cfgperl@5247
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 04a84b8e6a..5b8a223af0 100644
--- a/op.c
+++ b/op.c
@@ -2607,7 +2607,7 @@ Perl_pmtrans(pTHX_ OP *o, OP *expr, OP *repl)
I32 to_utf = o->op_private & OPpTRANS_TO_UTF;
if (complement) {
- U8 tmpbuf[10];
+ U8 tmpbuf[UTF8_MAXLEN];
U8** cp;
UV nextmin = 0;
New(1109, cp, tlen, U8*);