summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
Diffstat (limited to 'os2')
-rw-r--r--os2/os2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/os2/os2.c b/os2/os2.c
index 574c5fc2ce..94b45416c6 100644
--- a/os2/os2.c
+++ b/os2/os2.c
@@ -3461,9 +3461,7 @@ XS(XS_Cwd_sys_cwd)
RETVAL = _getcwd2(p, MAXPATHLEN);
ST(0) = sv_newmortal();
sv_setpv(ST(0), RETVAL);
-#ifndef INCOMPLETE_TAINTS
SvTAINTED_on(ST(0));
-#endif
}
XSRETURN(1);
}
@@ -3595,10 +3593,8 @@ XS(XS_Cwd_sys_abspath)
*t = 0;
SvCUR_set(sv, t - SvPVX(sv));
}
-#ifndef INCOMPLETE_TAINTS
if (!items)
SvTAINTED_on(ST(0));
-#endif
}
XSRETURN(1);
}