diff options
author | Brian Fraser <fraserbn@gmail.com> | 2012-01-30 16:30:24 -0300 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-01-30 19:28:10 -0700 |
commit | 0902dd32d1902bb68b2d5a78de217dea434431ee (patch) | |
tree | e1de3a671cfeba4c839cd8a94d317b92783d9389 /pp.c | |
parent | ffa23acf6bf9670bd1d5fdc9a958c918b6cf3d06 (diff) | |
download | perl-0902dd32d1902bb68b2d5a78de217dea434431ee.tar.gz |
use locale; fc(""); shouldn't taint.
fc() brought to life its own version of #39028. fc(""), like
lc("") and friends, shouldn't taint the result.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4184,7 +4184,7 @@ PP(pp_fc) SvTAINTED_on(dest); } } /* Unflagged string */ - else { + else if (len) { /* For locale, bytes, and nothing, the behavior is supposed to be the * same as lc(). */ |