OSDN Git Service

* mkimport: cd away from temp directory or Windows will have problems removing
authorcgf <cgf>
Fri, 26 Feb 2010 19:37:43 +0000 (19:37 +0000)
committercgf <cgf>
Fri, 26 Feb 2010 19:37:43 +0000 (19:37 +0000)
the directory.

winsup/cygwin/ChangeLog
winsup/cygwin/mkimport

index af83c3f..72f8fa6 100644 (file)
@@ -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
index abca729..70c8104 100755 (executable)
@@ -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 $?;