Doubtful about unison

Andrew Schulman schulman.andrew@epamail.epa.gov
Mon Feb 28 19:31:00 GMT 2011


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /