aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/speclib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-04-14 14:28:34 +0000
committerChristopher Faylor <me@cgf.cx>2009-04-14 14:28:34 +0000
commitd2954666367592b1be58cf90476fb62c8e945f5b (patch)
treec40645ec4c959a3834f8b92c3e3dd13a79934cbb /winsup/cygwin/speclib
parent51291d61e2cfa747ee567f668c0e8cc0122107a3 (diff)
downloadnewlib-d2954666367592b1be58cf90476fb62c8e945f5b.zip
newlib-d2954666367592b1be58cf90476fb62c8e945f5b.tar.gz
newlib-d2954666367592b1be58cf90476fb62c8e945f5b.tar.bz2
* speclib: Revert to using tempdir.
Diffstat (limited to 'winsup/cygwin/speclib')
-rwxr-xr-xwinsup/cygwin/speclib2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib
index 8074408..37ab5da 100755
--- a/winsup/cygwin/speclib
+++ b/winsup/cygwin/speclib
@@ -43,7 +43,7 @@ close $nm_fd;
%extract or die "$0: couldn't find symbols for $lib\n";
-my $dir = File::Temp->newdir();
+my $dir = File::Temp->tempdir(CLEANUP => 1);
chdir $dir;
# print join(' ', '+', $ar, 'x', sort keys %extract), "\n";