summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-21 14:54:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-21 14:54:24 +0000
commit4808266b7a2aefa68f681e0378316e43728b49d8 (patch)
tree8e75f609dcf0acc6649da47fb7cece8567236165 /pp_sys.c
parent44914417440ff636ff6c83c30d188eb9a75336d3 (diff)
downloadperl-4808266b7a2aefa68f681e0378316e43728b49d8.tar.gz
microperl: if DIEing on no-functionality, the has-functionality
would be unreachable code. p4raw-id: //depot/perl@16723
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 5ff5c924a6..880c327ad0 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2182,9 +2182,6 @@ PP(pp_ioctl)
#else
retval = fcntl(PerlIO_fileno(IoIFP(io)), func, s);
#endif
-#else
- DIE(aTHX_ "fcntl is not implemented");
-#endif
if (SvPOK(argsv)) {
if (s[SvCUR(argsv)] != 17)
@@ -2203,6 +2200,10 @@ PP(pp_ioctl)
PUSHp(zero_but_true, ZBTLEN);
}
RETURN;
+
+#else
+ DIE(aTHX_ "fcntl is not implemented");
+#endif
}
PP(pp_flock)