summaryrefslogtreecommitdiff
path: root/epoc
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-25 22:58:44 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-25 22:58:44 +0000
commitebdd4fa0c0f72122a0aef85c22b8fa4d49b01b78 (patch)
treed8a09b6601eb4cda8ea2e4b6a4f77c357d41b317 /epoc
parentdfb6a7ef48035acda2858c343a48352b20f2b43f (diff)
downloadperl-ebdd4fa0c0f72122a0aef85c22b8fa4d49b01b78.tar.gz
Take the taint brush to the getcwds.
p4raw-id: //depot/perl@13276
Diffstat (limited to 'epoc')
-rw-r--r--epoc/epoc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epoc/epoc.c b/epoc/epoc.c
index e5496eafd0..1348109371 100644
--- a/epoc/epoc.c
+++ b/epoc/epoc.c
@@ -222,6 +222,9 @@ XS(epoc_getcwd) /* more or less stolen from win32.c */
EXTEND(SP,1);
SvPOK_on(sv);
ST(0) = sv;
+#ifndef INCOMPLETE_TAINTS
+ SvTAINTED_on(ST(0));
+#endif
XSRETURN(1);
}
free( buffer);