4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
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_unix.c, src/os_unix.h, src/proto/os_unix.pro
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
21 {-1, "Unknown!", FALSE}
31 + smsg((char_u *)"chdir(%s)", path);
35 + return chdir(vms_fixfilename(path));
42 * Write s[len] to the screen.
53 + MSG("fchdir() to previous dir");
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
64 int mch_rename __ARGS((const char *src, const char *dest));
67 - # define mch_chdir(s) chdir(vms_fixfilename(s))
69 - # define mch_chdir(s) chdir(s)
73 /* on OS390 Unix getenv() doesn't return a pointer to persistent
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
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
90 { /* Add new patch number below this line */
96 From "know your smileys":
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 ///