delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/12/02:44:27

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 AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1
References: <014c01c6ed5b$d6a1e9a0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
In-Reply-To: <014c01c6ed5b$d6a1e9a0$a501a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

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/

- Raw text -


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