Mail Archives: cygwin/2008/01/09/14:19:58
Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> [...]
>
> Could you create a simple, self-contained testcase in plain C, which
> allows to reproduce the problem?
I did try to do this, and couldn't reproduce the failure. The failure only
happens in the git context for whatever reason. Note: To try to reproduce the
problem with a simple C program, I used exactly the same files and filenames git
had chosen in exactly the same directories.
From some older postings on this mailing list, I got the idea to try:
MoveFileEx(<existing>, <new>, MOVEFILE_CREATE_HARDLINK);
instead of:
CreateHardLinkA(<new>, <existing>, NULL);
in fhandler_disk_file.cc, and this actually worked for me. I'm currently
running a cygwin1.dll with this local modification, and haven't seen problems
yet.
The funny thing is I have used canned git/cygwin successfully on other machines.
Only with this particular machine have I seen this problem. Maybe it has to do
with some interaction with a virus-checking program or other background process.
>
> Corinna
>
PS I am using gmane to post this message, and cannot CC you directly; sorry
about that.
MP
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -