]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.058
- fix for current libselinux
[packages/vim.git] / 6.2.058
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.058
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 6.2.058
11 Problem:    When 'autochdir' is set ":bnext" to a buffer without a name causes
12             a crash.
13 Solution:   Don't call vim_chdirfile() when the file name is NULL. (Taro
14             Muraoka)
15 Files:      src/buffer.c
16
17
18 *** ../vim-6.2.057/src/buffer.c Mon May 26 20:25:52 2003
19 --- src/buffer.c        Sun Aug  3 12:17:43 2003
20 ***************
21 *** 1317,1323 ****
22   
23   #if defined(FEAT_NETBEANS_INTG) || defined(FEAT_SUN_WORKSHOP)
24       /* Change directories when the acd option is set on. */
25 !     if (p_acd && vim_chdirfile(buf->b_ffname) == OK)
26         shorten_fnames(TRUE);
27   #endif
28   
29 --- 1317,1324 ----
30   
31   #if defined(FEAT_NETBEANS_INTG) || defined(FEAT_SUN_WORKSHOP)
32       /* Change directories when the acd option is set on. */
33 !     if (p_acd && curbuf->b_ffname != NULL
34 !                                    && vim_chdirfile(curbuf->b_ffname) == OK)
35         shorten_fnames(TRUE);
36   #endif
37   
38 *** ../vim-6.2.057/src/version.c        Mon Jul 28 14:38:38 2003
39 --- src/version.c       Sun Aug  3 12:20:21 2003
40 ***************
41 *** 632,633 ****
42 --- 632,635 ----
43   {   /* Add new patch number below this line */
44 + /**/
45 +     58,
46   /**/
47
48 -- 
49 hundred-and-one symptoms of being an internet addict:
50 30. Even though you died last week, you've managed to retain OPS on your
51     favorite IRC channel.
52
53  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
54 ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
55 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
56  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.028588 seconds and 3 git commands to generate.