gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: [Gnu-arch-users] New user - building on Cygwin


From: Karl Waclawek
Subject: Fw: [Gnu-arch-users] New user - building on Cygwin
Date: Tue, 16 Sep 2003 13:05:10 -0400

<Forwarded for Matthias Hoelzl, whose message to the list bounced.>

Thanks, Matthias, will try the patch ASAP.


> Karl Waclawek wrote:
> 
> >>Btw, after resolving this problem, does it seem that tla works under
> >>Cygwin?
> > 
> > I did start the tutorial, and it seems to work OK, no crashes.
> > One thing (so far) that does *not* work is setting the tagging method.
> > It reports a file permission error. This can be solved (after the error
> > happened) by deleting the file =tagging-method and renaming the temporary 
> > file ,,tagging-method to =tagging-method.
> 
> The problem there is that Cygwin cannot move files to which another 
> application still holds a file descriptor.  The appended patch (against 
> tla-1.1-pre5) seems to fix this problem.
> 
>    Matthias
> 
> =====================================================================
> 
> *** src/tla/libarch/inv-tags.c~ Fri Aug  1 00:42:54 2003
> --- src/tla/libarch/inv-tags.c  Tue Aug 19 16:41:57 2003
> ***************
> *** 548,553 ****
> --- 548,557 ----
> 
>          if (!emitted_method)
>            safe_printfmt (out_fd, "%s\n", method_name);
> +
> +       /* The rename fails on Cygwin if in_fd is still open  --tc */
> +       safe_close (in_fd);
> +
>        }
> 
>      safe_close (out_fd);
> 
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]