Check for taintedness of PERL5SHELL on Windows
Rafael Garcia-Suarez [Sun, 16 Jul 2006 21:42:59 +0000 (21:42 +0000)]
(bug #39832)

p4raw-id: //depot/perl@28591

taint.c

diff --git a/taint.c b/taint.c
index 1eab082..1c74f87 100644 (file)
--- a/taint.c
+++ b/taint.c
@@ -82,6 +82,9 @@ Perl_taint_env(pTHX)
        "CDPATH",       /* ksh dain bramage #1 */
        "ENV",          /* ksh dain bramage #2 */
        "BASH_ENV",     /* bash dain bramage -- I guess it's contagious */
+#ifdef WIN32
+       "PERL5SHELL",   /* used for system() on Windows */
+#endif
        NULL
     };