summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorRobin Houston <robin@cpan.org>2005-10-29 22:33:07 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-11-02 12:49:54 +0000
commit9850bf21fc4ed69d8ddb0293df59411f891c62df (patch)
tree047a29a8cd2d04148aa15000e1307651d86afe8a /op.c
parentbda6ed216cf53718fff278193bffd2c4078fb377 (diff)
downloadperl-9850bf21fc4ed69d8ddb0293df59411f891c62df.tar.gz
sort/multicall patch
Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@25953
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/op.c b/op.c
index 02c1fe846d..2eefa1d1eb 100644
--- a/op.c
+++ b/op.c
@@ -4345,9 +4345,6 @@ Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
SAVEFREESV(PL_compcv);
goto done;
}
- /* ahem, death to those who redefine active sort subs */
- if (PL_curstackinfo->si_type == PERLSI_SORT && PL_sortcop == CvSTART(cv))
- Perl_croak(aTHX_ "Can't redefine active sort subroutine %s", name);
if (block) {
if (ckWARN(WARN_REDEFINE)
|| (CvCONST(cv)