summaryrefslogtreecommitdiff
path: root/win32/ext
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2006-12-08 11:07:06 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-12-11 13:21:28 +0000
commitcf2f24a416dd5be7d3f4153bf173ec2a57eaed43 (patch)
tree5c890bc394cfd5ee124b8e0ec263e04104cbc10b /win32/ext
parentc79bbeaf9959de37889eda1f77c9af1212f538ec (diff)
downloadperl-cf2f24a416dd5be7d3f4153bf173ec2a57eaed43.tar.gz
First patch from:
Subject: [PATCH] Move Win32::* functions from win32/win32.c to ext/Win32/Win32.xs Message-ID: <lc9kn2tb0p5sdd4q69rbc7067r4imar59r@4ax.com> p4raw-id: //depot/perl@29509
Diffstat (limited to 'win32/ext')
-rw-r--r--win32/ext/Win32API/File/t/file.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/ext/Win32API/File/t/file.t b/win32/ext/Win32API/File/t/file.t
index 739b773ad0..f7f16c5744 100644
--- a/win32/ext/Win32API/File/t/file.t
+++ b/win32/ext/Win32API/File/t/file.t
@@ -6,6 +6,12 @@
BEGIN { $|= 1; print "1..267\n"; }
END {print "not ok 1\n" unless $loaded;}
+
+# Win32API::File does an implicit "require Win32", but
+# the ../lib directory in @INC will no longer work once
+# we chdir() into the TEMP directory.
+use Win32;
+
use Win32API::File qw(:ALL);
$loaded = 1;
print "ok 1\n";