X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/fdf8c08824a2cd37d9fab91f3056bff4358cb60b..1c321dc6ba82145ce5173a7eb3ec132cf550fc22:/perl.c?ds=sidebyside diff --git a/perl.c b/perl.c index 4f9fdac..f9cebf1 100644 --- a/perl.c +++ b/perl.c @@ -2061,11 +2061,6 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit) } #endif - if (PL_taint_warn && PL_dowarn != G_WARN_ALL_OFF) { - PL_compiling.cop_warnings - = Perl_new_warnings_bitfield(aTHX_ NULL, WARN_TAINTstring, WARNsize); - } - if (!scriptname) scriptname = argv[0]; if (PL_e_script) { @@ -3299,7 +3294,7 @@ Perl_moreswitches(pTHX_ char *s) #endif PerlIO_printf(PerlIO_stdout(), - "\n\nCopyright 1987-2006, Larry Wall\n"); + "\n\nCopyright 1987-2007, Larry Wall\n"); #ifdef MACOS_TRADITIONAL PerlIO_printf(PerlIO_stdout(), "\nMac OS port Copyright 1991-2002, Matthias Neeracher;\n" @@ -3376,8 +3371,9 @@ this system using \"man perl\" or \"perldoc perl\". If you have access to the\n Internet, point your browser at http://www.perl.org/, the Perl Home Page.\n\n"); my_exit(0); case 'w': - if (! (PL_dowarn & G_WARN_ALL_MASK)) + if (! (PL_dowarn & G_WARN_ALL_MASK)) { PL_dowarn |= G_WARN_ON; + } s++; return s; case 'W':