]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.233
- new
[packages/vim.git] / 7.2.233
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.233 (extra)
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.233 (extra part of 7.2.232)
11 Problem:    Cannot debug problems with being in a wrong directory.
12 Solution:   When 'verbose' is 5 or higher report directory changes.
13 Files:      src/os_msdos.c, src/os_mswin.c, src/os_riscos.c, src/os_mac.h
14
15
16 *** ../vim-7.2.232/src/os_msdos.c       2008-06-24 23:30:18.000000000 +0200
17 --- src/os_msdos.c      2009-07-14 16:50:57.000000000 +0200
18 ***************
19 *** 2039,2044 ****
20 --- 2039,2050 ----
21   {
22       if (path[0] == NUL)                   /* just checking... */
23         return 0;
24 +     if (p_verbose >= 5)
25 +     {
26 +       verbose_enter();
27 +       smsg((char_u *)"chdir(%s)", path);
28 +       verbose_leave();
29 +     }
30       if (path[1] == ':')                   /* has a drive name */
31       {
32         if (change_drive(TOLOWER_ASC(path[0]) - 'a' + 1))
33 *** ../vim-7.2.232/src/os_mswin.c       2009-05-14 22:00:37.000000000 +0200
34 --- src/os_mswin.c      2009-07-14 16:53:03.000000000 +0200
35 ***************
36 *** 653,658 ****
37 --- 653,664 ----
38       if (path[0] == NUL)               /* just checking... */
39         return -1;
40   
41 +     if (p_verbose >= 5)
42 +     {
43 +       verbose_enter();
44 +       smsg((char_u *)"chdir(%s)", path);
45 +       verbose_leave();
46 +     }
47       if (isalpha(path[0]) && path[1] == ':')   /* has a drive name */
48       {
49         /* If we can change to the drive, skip that part of the path.  If we
50 *** ../vim-7.2.232/src/os_riscos.c      2006-03-07 23:25:50.000000000 +0100
51 --- src/os_riscos.c     2009-07-14 16:53:35.000000000 +0200
52 ***************
53 *** 1203,1208 ****
54 --- 1203,1214 ----
55       int           retval;
56       char_u  *new_dir;
57   
58 +     if (p_verbose >= 5)
59 +     {
60 +       verbose_enter();
61 +       smsg((char_u *)"chdir(%s)", dir);
62 +       verbose_leave();
63 +     }
64       length = strlen(dir);
65       if (dir[length - 1] != '.')
66         return chdir(dir);          /* No trailing dots - nothing to do. */
67 *** ../vim-7.2.232/src/os_mac.h 2009-06-24 16:41:01.000000000 +0200
68 --- src/os_mac.h        2009-07-14 16:54:33.000000000 +0200
69 ***************
70 *** 291,297 ****
71   #  define HAVE_SETENV
72   #  define HAVE_RENAME
73   # endif
74 - # define mch_chdir(s) chdir(s)
75   #endif
76   
77   #if defined(MACOS_X) && !defined(HAVE_CONFIG_H)
78 --- 291,296 ----
79 *** ../vim-7.2.232/src/version.c        2009-07-14 17:38:51.000000000 +0200
80 --- src/version.c       2009-07-14 18:35:30.000000000 +0200
81 ***************
82 *** 678,679 ****
83 --- 678,681 ----
84   {   /* Add new patch number below this line */
85 + /**/
86 +     233,
87   /**/
88
89 -- 
90 From "know your smileys":
91  :-O>-o   Smiley American tourist (note big mouth and camera)
92
93  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
94 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
95 \\\        download, build and distribute -- http://www.A-A-P.org        ///
96  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.030499 seconds and 3 git commands to generate.