|
Karsten Hopp |
60033c |
To: vim-dev@vim.org
|
|
Karsten Hopp |
60033c |
Subject: Patch 7.1.172
|
|
Karsten Hopp |
60033c |
Fcc: outbox
|
|
Karsten Hopp |
60033c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
60033c |
Mime-Version: 1.0
|
|
Karsten Hopp |
60033c |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
60033c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
60033c |
------------
|
|
Karsten Hopp |
60033c |
|
|
Karsten Hopp |
60033c |
Patch 7.1.172
|
|
Karsten Hopp |
60033c |
Problem: When 'buftype' is "acwrite" Vim still checks if the file or
|
|
Karsten Hopp |
60033c |
directory exists before overwriting.
|
|
Karsten Hopp |
60033c |
Solution: Don't check for overwriting when the buffer name is not a file
|
|
Karsten Hopp |
60033c |
name.
|
|
Karsten Hopp |
60033c |
Files: src/ex_cmds.c
|
|
Karsten Hopp |
60033c |
|
|
Karsten Hopp |
60033c |
|
|
Karsten Hopp |
60033c |
*** ../vim-7.1.171/src/ex_cmds.c Tue Nov 20 18:03:34 2007
|
|
Karsten Hopp |
60033c |
--- src/ex_cmds.c Fri Dec 7 22:13:32 2007
|
|
Karsten Hopp |
60033c |
***************
|
|
Karsten Hopp |
60033c |
*** 2732,2737 ****
|
|
Karsten Hopp |
60033c |
--- 2732,2740 ----
|
|
Karsten Hopp |
60033c |
&& vim_strchr(p_cpo, CPO_OVERNEW) == NULL)
|
|
Karsten Hopp |
60033c |
|| (buf->b_flags & BF_READERR))
|
|
Karsten Hopp |
60033c |
&& !p_wa
|
|
Karsten Hopp |
60033c |
+ #ifdef FEAT_QUICKFIX
|
|
Karsten Hopp |
60033c |
+ && !bt_nofile(buf)
|
|
Karsten Hopp |
60033c |
+ #endif
|
|
Karsten Hopp |
60033c |
&& vim_fexists(ffname))
|
|
Karsten Hopp |
60033c |
{
|
|
Karsten Hopp |
60033c |
if (!eap->forceit && !eap->append)
|
|
Karsten Hopp |
60033c |
*** ../vim-7.1.171/src/version.c Fri Dec 7 20:28:13 2007
|
|
Karsten Hopp |
60033c |
--- src/version.c Sat Dec 8 22:18:54 2007
|
|
Karsten Hopp |
60033c |
***************
|
|
Karsten Hopp |
60033c |
*** 668,669 ****
|
|
Karsten Hopp |
60033c |
--- 668,671 ----
|
|
Karsten Hopp |
60033c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
60033c |
+ /**/
|
|
Karsten Hopp |
60033c |
+ 172,
|
|
Karsten Hopp |
60033c |
/**/
|
|
Karsten Hopp |
60033c |
|
|
Karsten Hopp |
60033c |
--
|
|
Karsten Hopp |
60033c |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
60033c |
206. You religiously respond immediately to e-mail, while ignoring
|
|
Karsten Hopp |
60033c |
your growing pile of snail mail.
|
|
Karsten Hopp |
60033c |
|
|
Karsten Hopp |
60033c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
60033c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
60033c |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
60033c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|