diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-02-03 22:41:55 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-02-03 22:41:55 +0000 |
commit | 97bd566409a94bf7961734af3ac8131276ce086b (patch) | |
tree | 01580ea7b8688c46c72765484922bfbe9d56d361 /toke.c | |
parent | a8e48fe22d03f17d66e4765e2eef8807740ca1fc (diff) | |
download | perl-97bd566409a94bf7961734af3ac8131276ce086b.tar.gz |
And as we've now got to the point where all calls to Perl_moreswitches
have -1 as the second argument, we can remove the second argument,
which gets us back to where we started, only with the elimination of
a per-thread variable.
p4raw-id: //depot/perl@27075
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -3008,12 +3008,7 @@ Perl_yylex(pTHX) Perl_croak(aTHX_ "Too late for \"-%.*s\" option", (int)(d - m), m); } - /* Given that these switches are within the script, - then it is not unsafe to allow them even within - a suidperl fd script. Hence pass in the - suidscript flag as -1, irrespective of what we - really are. */ - d = moreswitches(d, -1); + d = moreswitches(d); } while (d); if (PL_doswitches && !switches_done) { int argc = PL_origargc; |