2 Subject: Patch 7.2.233 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
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
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
22 if (path[0] == NUL) /* just checking... */
27 + smsg((char_u *)"chdir(%s)", path);
30 if (path[1] == ':') /* has a drive name */
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
38 if (path[0] == NUL) /* just checking... */
44 + smsg((char_u *)"chdir(%s)", path);
47 if (isalpha(path[0]) && path[1] == ':') /* has a drive name */
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
61 + smsg((char_u *)"chdir(%s)", 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
74 - # define mch_chdir(s) chdir(s)
77 #if defined(MACOS_X) && !defined(HAVE_CONFIG_H)
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
84 { /* Add new patch number below this line */
90 From "know your smileys":
91 :-O>-o Smiley American tourist (note big mouth and camera)
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 ///