delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/28/12:34:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A9806D5.6000005@cygwin.com>
Date: Fri, 28 Aug 2009 12:33:25 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin, symlinks, and wine
References: <a71bd89a0908272152x64b1dd85vf62e99b8829dcd20 AT mail DOT gmail DOT com> <20090828053111 DOT GA22638 AT ednor DOT casa DOT cgf DOT cx> <20090828053605 DOT GA23501 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20090828053605.GA23501@ednor.casa.cgf.cx>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 08/28/2009 01:36 AM, Christopher Faylor wrote:
> On Fri, Aug 28, 2009 at 01:31:11AM -0400, Christopher Faylor wrote:
>> On Thu, Aug 27, 2009 at 09:52:26PM -0700, Dan Kegel wrote:
>>> Although it seems strange to run cygwin on top of wine, doing so would
>>> make it possible to run a lot of build scripts for windows apps
>>> unchanged, which would be very handy in verifying that wine works
>>> properly (see http://wiki.winehq.org/UnitTestSuites ).
>>>
>>> The problem is, wine doesn't support the system attribute on files
>>> well.
>>
>> The system attribute isn't needed for the .lnk type of symlink that
>> you're talking about.  The file just has to be read-only.  So something
>> else is wrong.
>
> Ah, sorry.  I take that back.  I didn't read the whole bug report.
>
> These *are* the system-style symlinks, probably created by setup.exe.
> Changing them to .lnk type should fix that problem.  Why not just write
> some sort of converter script to do that?
>
> Regardless, the comment about a patch still holds despite the code
> offered in the wine bug report.

And I would go so far as to say that this wouldn't be a great solution anyway
since:

   1. It only fixes the problem for Cygwin, so other apps run in Wine that
      depend on the system attribute setting would need to have their own
      patches applied to them.  There's probably not allot of these but
      still.
   2. Symlinks in Cygwin 1.7 have moved away from using the Windows
       style shortcuts and back to something like the "old" symlinks, with
       modifications to handle Unicode paths.

This leads me to believe the best course of action is to solve this problem
in Wine and/or through  Unix/Linux means, rather than relying on patches
to the apps running in Wine.  That said, I agree with Chris that recreating
the symlinks that are created by 'setup.exe' as the Windows-style symlinks
should solve the problem in the short run anyway.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019