diff options
author | Karl Williamson <khw@cpan.org> | 2020-07-22 05:59:12 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-04 20:59:10 -0600 |
commit | f50027fcb684960e3b6877fb6c53de1ce76e82de (patch) | |
tree | d2e491517c57b90efaa5730dd2b521adaef8c821 /taint.c | |
parent | cc98b54eb7901b2dc0bfbbc81c885b562c0d575f (diff) | |
download | perl-f50027fcb684960e3b6877fb6c53de1ce76e82de.tar.gz |
Add comments to taint_env, taint_proper
One is supposed to access this functionality only through the documented
uppercase-named macros.
Diffstat (limited to 'taint.c')
-rw-r--r-- | taint.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -34,7 +34,9 @@ Implements the L</TAINT_PROPER> macro, which you should generally use instead. void Perl_taint_proper(pTHX_ const char *f, const char *const s) { - /* Output a tainting violation, croaking unless we're just to warn. + /* Don't use directly; instead use TAINT_PROPER + * + * Output a tainting violation, croaking unless we're just to warn. * '_proper' is just to throw you off the scent */ #if defined(HAS_SETEUID) && defined(DEBUGGING) @@ -95,6 +97,8 @@ Implements the L</TAINT_ENV> macro, which you should generally use instead. void Perl_taint_env(pTHX) { + /* Don't use directly; instead use TAINT_ENV */ + SV** svp; const char* const *e; static const char* const misc_env[] = { |