]> git.pld-linux.org Git - packages/vim.git/blame - 5.7.001
one glob more (fix missing menu.vim problem)
[packages/vim.git] / 5.7.001
CommitLineData
a935ab01 1To: vim-dev@vim.org
2Subject: Patch 5.7.001
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5------------
6
7Patch 5.7.001
8Problem: When the current buffer is crypted, and another modified buffer
9 isn't, ":wall" will encrypt the other buffer.
10Solution: In buf_write() use "buf" instead of "curbuf" to check for the
11 crypt key.
12Files: src/fileio.c
13
14
15*** ../vim-5.7/src/fileio.c Sat Jun 24 13:54:27 2000
16--- src/fileio.c Sun Jun 25 20:14:38 2000
17***************
18*** 1857,1865 ****
19 start = end + 1;
20
21 #ifdef CRYPTV
22! if (*curbuf->b_p_key)
23 {
24! crypt_init_keys(curbuf->b_p_key);
25 encrypted = TRUE;
26 /* Write magic number, so that Vim knows that this file is encrypted
27 * when reading it again */
28--- 1857,1865 ----
29 start = end + 1;
30
31 #ifdef CRYPTV
32! if (*buf->b_p_key)
33 {
34! crypt_init_keys(buf->b_p_key);
35 encrypted = TRUE;
36 /* Write magic number, so that Vim knows that this file is encrypted
37 * when reading it again */
38*** ../vim-5.7/src/version.c Sat Jun 24 13:54:21 2000
39--- src/version.c Sun Jun 25 20:14:50 2000
40***************
41*** 439,440 ****
42--- 439,442 ----
43 { /* Add new patch number below this line */
44+ /**/
45+ 1,
46 /**/
47
48--
49In a world without walls and borders, who needs windows and gates?
50
51/-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\
52\-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
This page took 0.038661 seconds and 4 git commands to generate.