This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove SvTAINT from sv_sethek
authorFather Chrysostomos <sprout@cpan.org>
Sat, 3 Dec 2011 17:36:38 +0000 (09:36 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 3 Dec 2011 17:36:38 +0000 (09:36 -0800)
commit42932e1a33ce479972ea1398a41965265d8fb06b
treebbb25d5ef9a47754662ccaa7daea0930877be434
parentbdba49ad065980ae3ab85147a822d5b9098d33ca
Remove SvTAINT from sv_sethek

This was copied from sv_usepvn_flags in commit 58b643af9.  It is
unnecessary, and probably incorrect, as heks are not tainted.

Why sv_sethek used sv_usepvn_flags to begin with I don’t know, but I
imagine it was for brevity’s sake.  This code was ultimately derived
from newSVhek, which doesn’t use sv_usepvn_flags.  Because of that,
and because it is now far enough removed from sv_usepvn_flags, I have
removed the comment referring to it.
sv.c