summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-04-03 07:06:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-04-03 07:06:12 +0000
commit13c6d55afa635942d3703ea1d73eb249186edfd4 (patch)
treef74beb40afa9d7242d655be2d8d4a6e799c05c53 /mg.c
parente336de0d01f30cc4061b6d6a00d11df30fc67cd3 (diff)
parenta1896f58c36512e60681e1b3d5e3658044b57e2d (diff)
downloadperl-13c6d55afa635942d3703ea1d73eb249186edfd4.tar.gz
[win32] integrate mainline
p4raw-id: //depot/win32/perl@865
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index 464f1813c0..492e35191d 100644
--- a/mg.c
+++ b/mg.c
@@ -684,7 +684,7 @@ magic_setenv(SV *sv, MAGIC *mg)
s++;
if (i >= sizeof tmpbuf /* too long -- assume the worst */
|| *tmpbuf != '/'
- || (Stat(tmpbuf, &st) == 0 && (st.st_mode & 2)) ) {
+ || (PerlLIO_stat(tmpbuf, &st) == 0 && (st.st_mode & 2)) ) {
MgTAINTEDDIR_on(mg);
return 0;
}