Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-02-26 22:37:43 +0300
committerChristopher Faylor <me@cgf.cx>2010-02-26 22:37:43 +0300
commitb6336c95b4c1d512d4cb139e7b97ec4d1ef843fc (patch)
treeb3b686898c1f40a7c932abfc2c4d5e2b9b850c00
parenta149bfbfcde2aa7f54f6a9485cedce3c9b2bb1aa (diff)
* mkimport: cd away from temp directory or Windows will have problems removing
the directory.
-rw-r--r--winsup/cygwin/ChangeLog5
-rwxr-xr-xwinsup/cygwin/mkimport1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index af83c3f95..72f8fa658 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-26 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * mkimport: cd away from temp directory or Windows will have problems
+ removing the directory.
+
2010-02-26 Corinna Vinschen <corinna@vinschen.de>
* libc/strptime.cc: Implement support for era, alt_digits and POSIX
diff --git a/winsup/cygwin/mkimport b/winsup/cygwin/mkimport
index abca72964..70c81048f 100755
--- a/winsup/cygwin/mkimport
+++ b/winsup/cygwin/mkimport
@@ -80,4 +80,5 @@ for my $f (keys %text) {
unlink $libdll;
system $ar, 'crus', $libdll, glob('*.o'), @ARGV;
unlink glob('*.o');
+chdir '/tmp'; # Allow $dir directory removal on Windows
exit 1 if $?;