aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/speclib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-04-14 15:10:28 +0000
committerChristopher Faylor <me@cgf.cx>2009-04-14 15:10:28 +0000
commitfcea4c1c3db123be0dc633996f7deb4056750b61 (patch)
treeaf4d50981a969b8f93b0203f90de050a8822810c /winsup/cygwin/speclib
parentd2954666367592b1be58cf90476fb62c8e945f5b (diff)
downloadnewlib-fcea4c1c3db123be0dc633996f7deb4056750b61.zip
newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.tar.gz
newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.tar.bz2
* 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 37ab5da..9a0b678 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";