]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.232
- updated to 7.2.330
[packages/vim.git] / 7.2.232
CommitLineData
215db38d
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.232
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.232
11Problem: Cannot debug problems with being in a wrong directory.
12Solution: When 'verbose' is 5 or higher report directory changes.
13Files: src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro
14
15
16*** ../vim-7.2.231/src/os_unix.c 2009-07-14 12:20:28.000000000 +0200
17--- src/os_unix.c 2009-07-14 17:13:15.000000000 +0200
18***************
19*** 319,324 ****
20--- 319,341 ----
21 {-1, "Unknown!", FALSE}
22 };
23
24+ int
25+ mch_chdir(path)
26+ char *path;
27+ {
28+ if (p_verbose >= 5)
29+ {
30+ verbose_enter();
31+ smsg((char_u *)"chdir(%s)", path);
32+ verbose_leave();
33+ }
34+ # ifdef VMS
35+ return chdir(vms_fixfilename(path));
36+ # else
37+ return chdir(path);
38+ # endif
39+ }
40+
41 /*
42 * Write s[len] to the screen.
43 */
44***************
45*** 2424,2429 ****
46--- 2441,2452 ----
47 #ifdef HAVE_FCHDIR
48 if (fd >= 0)
49 {
50+ if (p_verbose >= 5)
51+ {
52+ verbose_enter();
53+ MSG("fchdir() to previous dir");
54+ verbose_leave();
55+ }
56 l = fchdir(fd);
57 close(fd);
58 }
59*** ../vim-7.2.231/src/os_unix.h 2009-05-16 16:36:25.000000000 +0200
60--- src/os_unix.h 2009-07-14 16:55:05.000000000 +0200
61***************
62*** 482,492 ****
63 # else
64 int mch_rename __ARGS((const char *src, const char *dest));
65 # endif
66- # ifdef VMS
67- # define mch_chdir(s) chdir(vms_fixfilename(s))
68- # else
69- # define mch_chdir(s) chdir(s)
70- # endif
71 # ifndef VMS
72 # ifdef __MVS__
73 /* on OS390 Unix getenv() doesn't return a pointer to persistent
74--- 482,487 ----
75*** ../vim-7.2.231/src/proto/os_unix.pro 2008-06-24 23:58:57.000000000 +0200
76--- src/proto/os_unix.pro 2009-07-14 16:58:08.000000000 +0200
77***************
78*** 1,4 ****
79--- 1,5 ----
80 /* os_unix.c */
81+ int mch_chdir __ARGS((char *path));
82 void mch_write __ARGS((char_u *s, int len));
83 int mch_inchar __ARGS((char_u *buf, int maxlen, long wtime, int tb_change_cnt));
84 int mch_char_avail __ARGS((void));
85*** ../vim-7.2.231/src/version.c 2009-07-14 16:05:14.000000000 +0200
86--- src/version.c 2009-07-14 17:37:15.000000000 +0200
87***************
88*** 678,679 ****
89--- 678,681 ----
90 { /* Add new patch number below this line */
91+ /**/
92+ 232,
93 /**/
94
95--
96From "know your smileys":
97 O:-) Saint
98
99 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
100/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
101\\\ download, build and distribute -- http://www.A-A-P.org ///
102 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.033652 seconds and 4 git commands to generate.