[Top][All Lists]

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

Re: [Gnu-arch-users] Arch On Cygwin(Win32)

From: Karl Waclawek
Subject: Re: [Gnu-arch-users] Arch On Cygwin(Win32)
Date: Tue, 11 Nov 2003 23:07:51 -0500

> Are you refering to this one ?

> I guess the tester never replied that it worked or not...
> plus I also dont know its against which version of tla
> Can somebody please tell me which lines to modify??
> I am not very good at reading/applying patches.

This should work: Copy and paste the text beween <patch> and </patch>
into a file called patch.diff. Place this file into the src/tla/libarch
directory and run patch -i patch.diff in Cygwin.

If it fails, go to (roughly) line 548 and look for
         if (!emitted_method)
           safe_printfmt (out_fd, "%s\n", method_name);
then insert the lines marked with "+" right after it.


*** 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]