X-Spam-Check-By: sourceware.org
Message-ID: <452DE436.3040806@users.sourceforge.net>
Date: Thu, 12 Oct 2006 08:44:06 +0200
From: Frank Fesevur <ffes@users.sourceforge.net>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1
References: <014c01c6ed5b$d6a1e9a0$a501a8c0@CAM.ARTIMI.COM>
In-Reply-To: <014c01c6ed5b$d6a1e9a0$a501a8c0@CAM.ARTIMI.COM>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

At 11-10-2006 19:36, Dave Korn wrote:
> On 11 October 2006 18:15, Frank Fesevur wrote:
> 
>> I've tried his test case and Mark is right. When a symlink is created
>> with a win32 path, vim can not create the swapfile. When a symlink is
>> created with POSIX filenames there is no problem.
> 
>   Well of course not.  Cygwin - as a special feature - interprets DOS paths.
> VIM has no notion of them, so when it reads the symlink content and tries to
> figure out which directory it is pointing to a file in, it can't understand
> what's going on.
> 
>   The solution I'm afraid is "WDDTT" WRT creating cygwin symlinks with dos
> paths.  Cygwin can do magical path translation when someone passes an argument
> to open(...), but there's no way it can know when a program reads a path from
> somewhere and manipulates it itself.
> 
>   Maybe the base-files package should create the symlinks to cygdrive paths in
> the first place?  It solves the problem:

Indeed it should do so. OR there should be an automatic translation when 
the link is made. Also solves the problem.

Regards,
Frank

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

