diff options
author | Vincent Pit <perl@profvince.com> | 2008-05-15 17:31:19 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-05-15 13:48:38 +0000 |
commit | 1e968d83d8ff249abd1f06a7f900eea6b8c3fc51 (patch) | |
tree | 38025fd2384c262b0e68135ed88694623c441a63 /doop.c | |
parent | 839c1407d250d7c1cabbabe92d598c29d94077e8 (diff) | |
download | perl-1e968d83d8ff249abd1f06a7f900eea6b8c3fc51.tar.gz |
Re: [PATCH] Double magic with chop
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <32964.147.210.17.175.1210858279.squirrel@147.210.17.175>
p4raw-id: //depot/perl@33831
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1033,7 +1033,7 @@ Perl_do_chop(pTHX_ register SV *astr, register SV *sv) s = SvPV(sv, len); if (len && !SvPOK(sv)) - s = SvPV_force(sv, len); + s = SvPV_force_nomg(sv, len); if (DO_UTF8(sv)) { if (s && len) { char * const send = s + len; |