diff options
author | Florian Pritz <f-p@gmx.at> | 2009-06-25 19:16:21 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-06-25 19:16:21 +0200 |
commit | e4d1068c06190de5dd46727c1f2f1249786dd13b (patch) | |
tree | f910da35053e214d9520de2745fcc22d2693d23d /vim/vim-7.2/7.2.214 | |
parent | b9210356e8c9746828161dffa451f4d48a455018 (diff) | |
download | aur-packages-e4d1068c06190de5dd46727c1f2f1249786dd13b.tar.gz aur-packages-e4d1068c06190de5dd46727c1f2f1249786dd13b.tar.xz |
update vim
Diffstat (limited to 'vim/vim-7.2/7.2.214')
-rw-r--r-- | vim/vim-7.2/7.2.214 | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/vim/vim-7.2/7.2.214 b/vim/vim-7.2/7.2.214 new file mode 100644 index 0000000..17cb156 --- /dev/null +++ b/vim/vim-7.2/7.2.214 @@ -0,0 +1,65 @@ +To: vim-dev@vim.org +Subject: Patch 7.2.214 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.2.214 +Problem: Crash with complete function for user command. (Andy Wokula) +Solution: Avoid using a NULL pointer (Dominique Pelle) +Files: src/ex_getln.c + + +*** ../vim-7.2.213/src/ex_getln.c 2009-05-16 17:29:37.000000000 +0200 +--- src/ex_getln.c 2009-06-24 16:57:28.000000000 +0200 +*************** +*** 4874,4887 **** + /* Loop over the items in the list. */ + for (li = retlist->lv_first; li != NULL; li = li->li_next) + { +! if (li->li_tv.v_type != VAR_STRING) +! continue; /* Skip non-string items */ + + if (ga_grow(&ga, 1) == FAIL) + break; + + ((char_u **)ga.ga_data)[ga.ga_len] = +! vim_strsave(li->li_tv.vval.v_string); + ++ga.ga_len; + } + list_unref(retlist); +--- 4874,4887 ---- + /* Loop over the items in the list. */ + for (li = retlist->lv_first; li != NULL; li = li->li_next) + { +! if (li->li_tv.v_type != VAR_STRING || li->li_tv.vval.v_string == NULL) +! continue; /* Skip non-string items and empty strings */ + + if (ga_grow(&ga, 1) == FAIL) + break; + + ((char_u **)ga.ga_data)[ga.ga_len] = +! vim_strsave(li->li_tv.vval.v_string); + ++ga.ga_len; + } + list_unref(retlist); +*** ../vim-7.2.213/src/version.c 2009-06-24 16:49:50.000000000 +0200 +--- src/version.c 2009-06-24 17:03:58.000000000 +0200 +*************** +*** 678,679 **** +--- 678,681 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 214, + /**/ + +-- +He who laughs last, thinks slowest. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |