summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-26 17:02:03 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-26 17:02:03 +0000
commitd470f89e9a2abc6d26aa153a172cfbb87482dc3a (patch)
tree61cadb5c2db9230fd94b6869db502d895f38ce00 /pp_sys.c
parent28004758a4be3afd9c9a9251638c7cfde8191e6b (diff)
downloadperl-d470f89e9a2abc6d26aa153a172cfbb87482dc3a.tar.gz
fix buggy popping of subroutine contexts in the lvalue
subroutines implementation (change#4081); correct the plethora of cases where DIE() was more appropriate than croak() p4raw-link: @4081 on //depot/perl: cd06dffe59d60ee6a2fdd7c81f8cef42c7026b36 p4raw-id: //depot/perl@4235
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 2a0ec38fcd..cf08f73fa9 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3657,7 +3657,7 @@ PP(pp_system)
PerlLIO_close(pp[0]);
if (n) { /* Error */
if (n != sizeof(int))
- Perl_croak(aTHX_ "panic: kid popen errno read");
+ DIE(aTHX_ "panic: kid popen errno read");
errno = errkid; /* Propagate errno from kid */
STATUS_CURRENT = -1;
}