Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-04-14 19:10:28 +0400
committerChristopher Faylor <me@cgf.cx>2009-04-14 19:10:28 +0400
commitfcea4c1c3db123be0dc633996f7deb4056750b61 (patch)
treeaf4d50981a969b8f93b0203f90de050a8822810c /winsup/cygwin/speclib
parentd2954666367592b1be58cf90476fb62c8e945f5b (diff)
* speclib: Really revert to using tempdir.
Diffstat (limited to 'winsup/cygwin/speclib')
-rwxr-xr-xwinsup/cygwin/speclib4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib
index 37ab5da51..9a0b678f3 100755
--- a/winsup/cygwin/speclib
+++ b/winsup/cygwin/speclib
@@ -1,6 +1,6 @@
#!/usr/bin/perl
use Getopt::Long;
-use File::Temp;
+use File::Temp qw'tempdir';
use File::Basename;
use File::Spec;
use strict;
@@ -43,7 +43,7 @@ close $nm_fd;
%extract or die "$0: couldn't find symbols for $lib\n";
-my $dir = File::Temp->tempdir(CLEANUP => 1);
+my $dir = tempdir(CLEANUP => 1);
chdir $dir;
# print join(' ', '+', $ar, 'x', sort keys %extract), "\n";