On Fri, Oct 13, 2006 at 09:38:16PM +0200, Corinna Vinschen wrote:
> Interesting enough it works in 6.4 without doing anything similar to my
> patch does to os_unix.c.  What's different in swap file handling between
> 6.4 and 7.0 so that it works in the former but doesn;t in the latter?

memline.c was changed for 7.0 as far as how Vim determined where to
store the swapfile when editing symlinks.  The change was to follow the
symlink, find the directory the actual file was in and key off that when
creating the swapfile so that editing the symlink and the actual file at
the same time would cause the 'swapfile already exists' message.  Maybe
this is related.  The relevant code is sectioned off by '#ifdef
HAVE_READLINK'/'#endif' sections in memline.c

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to