summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2005-12-23 22:19:46 +0000
committervimboss <devnull@localhost>2005-12-23 22:19:46 +0000
commit16e3463fe0130f38fd5a7643fa42253a180d8124 (patch)
tree0a98cbad0d1319f24a39bdba658b1bbe856bf994
parentfe92451054a2e3f3619fa787bf0cbea63c70a615 (diff)
downloadvim-16e3463fe0130f38fd5a7643fa42253a180d8124.tar.gz
updated for version 7.0176v7.0176v7-0176
-rw-r--r--runtime/doc/todo.txt9
-rw-r--r--runtime/doc/version7.txt9
-rw-r--r--runtime/syntax/sql.vim4
-rw-r--r--src/memline.c5
4 files changed, 13 insertions, 14 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index ff1f0f46..8ce42e3b 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2005 Dec 22
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Dec 23
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,13 +30,6 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
-ln -s b a
-vim a
-[insert some text]
-:w
-:sp b
-[there are now two buffers for the same file and two swapfiles]
-
ccomplete:
- When an option is set: In completion mode and the user types (identifier)
characters, advance to the first match instead of removing the popup menu.
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index 0be816d5..953c7e74 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.0aa. Last change: 2005 Dec 20
+*version7.txt* For Vim version 7.0aa. Last change: 2005 Dec 23
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -917,7 +917,7 @@ inserted after the CTRL-O. Allows using CTRL-O commands to move the cursor
without losing the last inserted text.
The exists() function now supports checking for autocmd group definition
-and for supported autocommands. (Yegappan Lakshmanan)
+and for supported autocommand events. (Yegappan Lakshmanan)
==============================================================================
COMPILE TIME CHANGES *compile-changes-7*
@@ -1512,4 +1512,9 @@ recording.
Unix: the src/configure script used ${srcdir-.}, not all shells understand
that. Use ${srcdir:-.} instead.
+When editing file "a" which is a symlink to file "b" that doesn't exist,
+writing file "a" to create "b" and then ":split b" resulted in two buffers on
+the same file with two different swapfile names. Now set the inode in the
+buffer when creating a new file.
+
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/syntax/sql.vim b/runtime/syntax/sql.vim
index 6d8bca35..f9a7c19e 100644
--- a/runtime/syntax/sql.vim
+++ b/runtime/syntax/sql.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: SQL, PL/SQL (Oracle 8i)
" Maintainer: Paul Moore <pf_moore AT yahoo.co.uk>
-" Last Change: 2004 Jul 19
+" Last Change: 2005 Dec 23
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -58,7 +58,7 @@ syn match sqlComment "--.*$" contains=sqlTodo
syn sync ccomment sqlComment
" Todo.
-syn keyword sqlTodo TODO FIXME XXX DEBUG NOTE
+syn keyword sqlTodo contained TODO FIXME XXX DEBUG NOTE
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
diff --git a/src/memline.c b/src/memline.c
index a8e4025b..3eba98d5 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -3419,9 +3419,10 @@ resolve_symlink(fname, buf)
ret = readlink((char *)tmp, (char *)buf, MAXPATHL - 1);
if (ret <= 0)
{
- if (errno == EINVAL) /* found non-symlink, stop here */
+ if (errno == EINVAL || errno == ENOENT)
{
- /* When at the first level use the unmodifed name, skip the
+ /* Found non-symlink or not existing file, stop here.
+ * When at the first level use the unmodifed name, skip the
* call to vim_FullName(). */
if (depth == 1)
return FAIL;