diff options
author | Christopher Faylor <me@cgf.cx> | 2011-02-11 18:00:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-02-11 18:00:55 +0000 |
commit | 98525461c875ab0808b7bfa4787d13ee2d413c40 (patch) | |
tree | d6d3252fd60f35119ee3cfd5e31b6b8698fd8f89 /winsup/cygwin/speclib | |
parent | 0ff9e2473f90cb63ba8b196c7447e57686b967d2 (diff) | |
download | newlib-98525461c875ab0808b7bfa4787d13ee2d413c40.zip newlib-98525461c875ab0808b7bfa4787d13ee2d413c40.tar.gz newlib-98525461c875ab0808b7bfa4787d13ee2d413c40.tar.bz2 |
* mkstatic: Make sure that we are not cd'ed to temporary directory on exit to
avoid bogus warnings on directory cleanup.
* speclib: Ditto.
* mkimport: Ditto.
Diffstat (limited to 'winsup/cygwin/speclib')
-rwxr-xr-x | winsup/cygwin/speclib | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index 7ac4d1c..7bac7ea 100755 --- a/winsup/cygwin/speclib +++ b/winsup/cygwin/speclib @@ -76,3 +76,7 @@ $res = system $ar, 'crus', $lib, sort keys %extract; unlink keys %extract; die "$0: ar creation of $lib exited with non-zero status\n" if $res; exit 0; + +END { + chdir '/tmp'; # Allow $dir directory removal on Windows +} |