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 | |
parent | d2954666367592b1be58cf90476fb62c8e945f5b (diff) | |
download | newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.zip newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.tar.gz newlib-fcea4c1c3db123be0dc633996f7deb4056750b61.tar.bz2 |
* speclib: Really revert to using tempdir.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rwxr-xr-x | winsup/cygwin/speclib | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 437cedb..7fd768a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2009-04-14 Christopher Faylor <me+cygwin@cgf.cx> + * speclib: Really revert to using tempdir. + +2009-04-14 Christopher Faylor <me+cygwin@cgf.cx> + * speclib: Revert to using tempdir. 2009-04-14 Corinna Vinschen <corinna@vinschen.de> 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"; |