This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some minor changes for Cygwin
[perl5.git]
/
cygwin
/
cygwin.c
diff --git
a/cygwin/cygwin.c
b/cygwin/cygwin.c
index
6a71713
..
0b4dcc8
100644
(file)
--- a/
cygwin/cygwin.c
+++ b/
cygwin/cygwin.c
@@
-147,6
+147,9
@@
XS(Cygwin_cwd)
if((cwd = getcwd(NULL, -1))) {
ST(0) = sv_2mortal(newSVpv(cwd, 0));
safesysfree(cwd);
+#ifndef INCOMPLETE_TAINTS
+ SvTAINTED_on(ST(0));
+#endif
XSRETURN(1);
}
XSRETURN_UNDEF;