]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-233 v7.2.233
authorBram Moolenaar <Bram@vim.org>
Tue, 14 Jul 2009 16:38:36 +0000 (16:38 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 14 Jul 2009 16:38:36 +0000 (16:38 +0000)
src/os_mac.h
src/os_msdos.c
src/os_mswin.c
src/os_riscos.c
src/version.c

index aadaed77663f71fa8d4a250b768a684cd585bc07..314ec324826e154c1c0d6bd9400471a0de5b1048 100644 (file)
 #  define HAVE_SETENV
 #  define HAVE_RENAME
 # endif
-# define mch_chdir(s) chdir(s)
 #endif
 
 #if defined(MACOS_X) && !defined(HAVE_CONFIG_H)
index 6748e6a83e69b8aa2cdc0c90659c23f696cd1118..0df20c72b4404d4e09833691648b06ff0e8779c0 100644 (file)
@@ -2039,6 +2039,12 @@ mch_chdir(char *path)
 {
     if (path[0] == NUL)                    /* just checking... */
        return 0;
+    if (p_verbose >= 5)
+    {
+       verbose_enter();
+       smsg((char_u *)"chdir(%s)", path);
+       verbose_leave();
+    }
     if (path[1] == ':')                    /* has a drive name */
     {
        if (change_drive(TOLOWER_ASC(path[0]) - 'a' + 1))
index 94cf3a962406585aba706bb06c55668774110990..c3588e6f5619c3e6957cb1de862cc5aa0e5e6617 100644 (file)
@@ -653,6 +653,12 @@ mch_chdir(char *path)
     if (path[0] == NUL)                /* just checking... */
        return -1;
 
+    if (p_verbose >= 5)
+    {
+       verbose_enter();
+       smsg((char_u *)"chdir(%s)", path);
+       verbose_leave();
+    }
     if (isalpha(path[0]) && path[1] == ':')    /* has a drive name */
     {
        /* If we can change to the drive, skip that part of the path.  If we
index 8d6df27802cbe93022b04ba72af1652dfbf99e8c..5c443fce15c228b7bb21997f4c5a6bd83b1d1b2c 100644 (file)
@@ -1203,6 +1203,12 @@ mch_chdir(dir)
     int            retval;
     char_u  *new_dir;
 
+    if (p_verbose >= 5)
+    {
+       verbose_enter();
+       smsg((char_u *)"chdir(%s)", dir);
+       verbose_leave();
+    }
     length = strlen(dir);
     if (dir[length - 1] != '.')
        return chdir(dir);          /* No trailing dots - nothing to do. */
index 6d1b28b4170cf9372ab1f96b2e2dd9898c232596..aeb708fb8ab70cf19f5092a5a8e4810c4ed6f258 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    233,
 /**/
     232,
 /**/