summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-09-05 22:05:38 -0300
committerBrian Fraser <fraserbn@gmail.com>2013-09-21 08:47:42 -0300
commitadf4621acac87682086f49be53bd2a451ace02ea (patch)
tree5578fb0ca7ec7a485b7f749314f38ec416a7ceed /doio.c
parent009819bba34f5d921632a25a7dcbb643b435c0e9 (diff)
downloadperl-adf4621acac87682086f49be53bd2a451ace02ea.tar.gz
Removed the ifdefs for INCOMPLETE_TAINTS
This was added in 5.5/5.6 as a backwards-compatibility measure when taint was extended to happen in more places.
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/doio.c b/doio.c
index 5223654af0..50ab24f2a1 100644
--- a/doio.c
+++ b/doio.c
@@ -2219,10 +2219,8 @@ Perl_do_msgrcv(pTHX_ SV **mark, SV **sp)
if (ret >= 0) {
SvCUR_set(mstr, sizeof(long)+ret);
*SvEND(mstr) = '\0';
-#ifndef INCOMPLETE_TAINTS
/* who knows who has been playing with this message? */
SvTAINTED_on(mstr);
-#endif
}
return ret;
#else
@@ -2329,10 +2327,8 @@ Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp)
SvCUR_set(mstr, msize);
*SvEND(mstr) = '\0';
SvSETMAGIC(mstr);
-#ifndef INCOMPLETE_TAINTS
/* who knows who has been playing with this shared memory? */
SvTAINTED_on(mstr);
-#endif
}
else {
STRLEN len;