From 943bbd07da3f5ac028f0431edcea22c215ffe800 Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Wed, 22 Oct 2003 13:33:54 -0700 Subject: dup2() not going through PerlLIO abstraction layer Message-Id: p4raw-id: //depot/perl@21522 --- doio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doio.c') 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; } -- cgit v1.2.1