X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: Doubtful about unison Date: Mon, 28 Feb 2011 12:35:53 -0500 Lines: 41 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt 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 > > Try `cygcheck /usr/bin/unison-2.32`. > > Now I get: > C:\cygwin/bin\unison-2.32.exe > C:\cygwin/bin\cygwin1.dll > C:\WINDOWS\system32\ADVAPI32.DLL > C:\WINDOWS\system32\KERNEL32.dll > C:\WINDOWS\system32\ntdll.dll > C:\WINDOWS\system32\RPCRT4.dll > C:\WINDOWS\system32\Secur32.dll > C:\cygwin/bin\cyggcc_s-1.dll > All of these files exist. Hm. Okay, what if you run `strace /usr/bin/unison-2.32 -version`? When I do that, around line 375 of the output I see 6657 90249 [main] unison-2.32 5424 fhandler_base::write: binary write unison version 2.32.52 I'm not very knowledgeable about strace output, but if you attach yours here I can look for problems and compare it to mine. Also, from setup.exe, what version of unison2.32 are you using? Is it 2.32.52-3? There were earlier some versions of Unison that were briefly released that were broken in a way that I think looked like this. > > /usr/bin/unison should be just a symlink to /etc/alternatives/unison, > > which in turn is a symlink to one of your installed versions of unison. > > Yes indeed. And for extra fun there's also /bin/unison. Well that's different, it's a bonus Cygwin mount point :) > Symlinks are much abused in Unix: everything lives in 3, > 4, 5 different places. Arguably, yes. In this case the symlinks are there to help you manage multiple conflicting versions of Unison - see /usr/share/doc/unison/README.Cygwin. Andrew. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple