summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2003-10-22 13:33:54 -0700
committerAbhijit Menon-Sen <ams@wiw.org>2003-10-23 08:07:18 +0000
commit943bbd07da3f5ac028f0431edcea22c215ffe800 (patch)
treed7e1f7119d039b57bfda9b2207b881cbc7fca5c7
parent77397dcf62ceeeddb037fe9f0cc462d1d798e190 (diff)
downloadperl-943bbd07da3f5ac028f0431edcea22c215ffe800.tar.gz
dup2() not going through PerlLIO abstraction layer
Message-Id: <vniepv0n5mcrbbutm0qgvori6n6vr6arsh@4ax.com> p4raw-id: //depot/perl@21522
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index e2dcad87cb..5ba40b9be6 100644
--- a/doio.c
+++ b/doio.c
@@ -1548,7 +1548,7 @@ Perl_do_exec3(pTHX_ char *cmd, int fd, int do_report)
while (*t && isSPACE(*t))
++t;
- if (!*t && (dup2(1,2) != -1)) {
+ if (!*t && (PerlLIO_dup2(1,2) != -1)) {
s[-2] = '\0';
break;
}