]>
Commit | Line | Data |
---|---|---|
d2415672 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.172 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.172 | |
11 | Problem: When 'buftype' is "acwrite" Vim still checks if the file or | |
12 | directory exists before overwriting. | |
13 | Solution: Don't check for overwriting when the buffer name is not a file | |
14 | name. | |
15 | Files: src/ex_cmds.c | |
16 | ||
17 | ||
18 | *** ../vim-7.1.171/src/ex_cmds.c Tue Nov 20 18:03:34 2007 | |
19 | --- src/ex_cmds.c Fri Dec 7 22:13:32 2007 | |
20 | *************** | |
21 | *** 2732,2737 **** | |
22 | --- 2732,2740 ---- | |
23 | && vim_strchr(p_cpo, CPO_OVERNEW) == NULL) | |
24 | || (buf->b_flags & BF_READERR)) | |
25 | && !p_wa | |
26 | + #ifdef FEAT_QUICKFIX | |
27 | + && !bt_nofile(buf) | |
28 | + #endif | |
29 | && vim_fexists(ffname)) | |
30 | { | |
31 | if (!eap->forceit && !eap->append) | |
32 | *** ../vim-7.1.171/src/version.c Fri Dec 7 20:28:13 2007 | |
33 | --- src/version.c Sat Dec 8 22:18:54 2007 | |
34 | *************** | |
35 | *** 668,669 **** | |
36 | --- 668,671 ---- | |
37 | { /* Add new patch number below this line */ | |
38 | + /**/ | |
39 | + 172, | |
40 | /**/ | |
41 | ||
42 | -- | |
43 | hundred-and-one symptoms of being an internet addict: | |
44 | 206. You religiously respond immediately to e-mail, while ignoring | |
45 | your growing pile of snail mail. | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
49 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
50 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |