X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: MP Subject: Re: Trouble with cygwin git Date: Wed, 9 Jan 2008 19:18:51 +0000 (UTC) Lines: 38 Message-ID: References: <376007 DOT 24556 DOT qm AT web45909 DOT mail DOT sp1 DOT yahoo DOT com> <20080108141917 DOT GA29568 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Corinna Vinschen 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(, , MOVEFILE_CREATE_HARDLINK); instead of: CreateHardLinkA(, , 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/