Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVYkaG1fpnhnP9svsUFafxFIWIP7ZdN2d6ENRCzcZQORHi0uVghLbvZQ Message-ID: <3ECD946C.8090701@rfk.com> Date: Thu, 22 May 2003 23:24:28 -0400 From: Larry Hall Reply-To: lhall AT rfk DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: andrew brian clegg CC: cygwin AT cygwin DOT com Subject: Re: Cygwin symlinks with .lnk suffix References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Andrew, BZZT! Oh I'm sorry, you loose. Your path contains a very old Cygwin DLL (B19). Apparently your installation of MySQL uses it. Multiple Cygwin DLLs don't play well together. Please get rid of this old DLL (You can binary edit the MySQL executables that use B19 to point to cygwin1.dll instead so you don't loose this funcitonality in the process). If you're still seeing problems then, let us know. BTW, cygwin.bat does not set the CYGWIN environment by default. All defaults are internally set. You only need to set the CYGWIN variable here if there are defaults you want to override. So, if forced to answer one way or the other, I would say the docs are out of date in this regard. Larry andrew brian clegg wrote: > Evening folks, > > Here's a funny one -- on XP Pro with cygwin 1.3.22-1. (cygcheck attached) > > The FAQ says, regarding symlinks, > > "While Cygwin shortcuts are shown without the ".lnk" suffix in `ls' > output, non-Cygwin shortcuts are shown with the suffix." > > However, I've just noticed that all of my cygwin symlinks are showing up > with the suffix! Including such things as > > ./etc/hosts.lnk > ./etc/networks.lnk > ./etc/protocols.lnk > ... > > which is a bit weird. I don't recall changing anything that would affect > this. > > The suffix seems to be there by default but not be there if I look for the > file without it -- easier to show by example: > > Andrew Clegg AT fourier / > $ ls /etc | fgrep hosts > hosts.allow > hosts.deny > hosts.lnk > > Andrew Clegg AT fourier / > $ ls /etc/hosts > /etc/hosts > > Andrew Clegg AT fourier / > $ ls /etc/hosts.lnk > /etc/hosts.lnk > > I don't know if this will cause any problems to any programs -- but I'm > curious as to why it's happened, it didn't used to. Also for aesthetic > reasons it'd be nice if they didn't show up as .lnk in directory listings. > > On a (maybe) unrelated subject -- the user's guide says that cygwin.bat > sets some default environment variables before starting bash. > > (at http://cygwin.com/cygwin-ug-net/setup-env.html) > > Mine doesn't though, it just looks like this: > > @echo off > > D: > chdir D:\cygwin\bin > > bash --login -i > > Is it supposed to set anything or are the docs out of date? > > Cheers, > > Andrew. > -- 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/