diff options
author | Christopher Faylor <me@cgf.cx> | 2009-04-14 15:10:28 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-04-14 15:10:28 +0000 |
commit | fcea4c1c3db123be0dc633996f7deb4056750b61 (patch) | |
tree | af4d50981a969b8f93b0203f90de050a8822810c /winsup/cygwin/speclib | |
parent | d2954666367592b1be58cf90476fb62c8e945f5b (diff) | |
download | newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.zip newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.tar.gz newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.tar.bz2 |
* speclib: Really revert to using tempdir.
Diffstat (limited to 'winsup/cygwin/speclib')
-rwxr-xr-x | winsup/cygwin/speclib | 4 |
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"; |