X-Spam-Check-By: sourceware.org Message-ID: <452D2696.3060602@users.sourceforge.net> Date: Wed, 11 Oct 2006 19:15:02 +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: <announce DOT 20061010083400 DOT GA31556 AT calimero DOT vinschen DOT de> <452D1425 DOT 4080106 AT users DOT sourceforge DOT net> <20061011160605 DOT GO13105 AT calimero DOT vinschen DOT de> In-Reply-To: <20061011160605.GO13105@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 18:06, Corinna Vinschen wrote: > On Oct 11 17:56, Frank Fesevur wrote: >> At 10-10-2006 10:34, Corinna Vinschen wrote: >>> I have updated the version of vim on cygwin.com to 7.0.122-1. >>> >>> This is an update to the latest patchlevel 122. Cygwin Vim still builds >> >from the vanilla sources. >> >> I'm still having problems editing /etc/hosts. Also see my earlier report >> in http://cygwin.com/ml/cygwin/2006-06/msg00277.html >> >> It probably is because /etc/hosts is a symlink. It is not a major >> problem, but a but annoying. > > In my case it's a symlink, too and I don't have problems editing it. > The "Cannot create swap file" message is often an indicator that > the directory in which vim tries to write the swap file is read-only. > See ":help directory" and ":set dir". Note especially the meaning > of the single dot path "." in this variable. Look at the archives again. For some reason this reply was not linked to my original post: http://cygwin.com/ml/cygwin/2006-06/msg00279.html 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. 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/