]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-232 v7.2.232
authorBram Moolenaar <Bram@vim.org>
Tue, 14 Jul 2009 15:38:41 +0000 (15:38 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 14 Jul 2009 15:38:41 +0000 (15:38 +0000)
src/os_unix.c
src/os_unix.h
src/proto/os_unix.pro
src/version.c

index 102b654a7c0748cb1046363c9e3ecd906d16e64f..3aa397bf638a051bb03913a50436cfb20f5297bf 100644 (file)
@@ -319,6 +319,23 @@ static struct signalinfo
     {-1,           "Unknown!", FALSE}
 };
 
+    int
+mch_chdir(path)
+    char *path;
+{
+    if (p_verbose >= 5)
+    {
+       verbose_enter();
+       smsg((char_u *)"chdir(%s)", path);
+       verbose_leave();
+    }
+# ifdef VMS
+    return chdir(vms_fixfilename(path));
+# else
+    return chdir(path);
+# endif
+}
+
 /*
  * Write s[len] to the screen.
  */
@@ -2424,6 +2441,12 @@ mch_FullName(fname, buf, len, force)
 #ifdef HAVE_FCHDIR
            if (fd >= 0)
            {
+               if (p_verbose >= 5)
+               {
+                   verbose_enter();
+                   MSG("fchdir() to previous dir");
+                   verbose_leave();
+               }
                l = fchdir(fd);
                close(fd);
            }
index 944cc1b8384b6a8708f370f0e760d81bfa370c5d..5fd28af7d0408bca2d21771b1cb4a6c5144da3b0 100644 (file)
@@ -482,11 +482,6 @@ typedef struct dsc$descriptor   DESC;
 # else
 int mch_rename __ARGS((const char *src, const char *dest));
 # endif
-# ifdef VMS
-#  define mch_chdir(s) chdir(vms_fixfilename(s))
-# else
-#  define mch_chdir(s) chdir(s)
-# endif
 # ifndef VMS
 #  ifdef __MVS__
   /* on OS390 Unix getenv() doesn't return a pointer to persistent
index 36193bb00d1b75f564d4f2766a8d40e7ad78b9e7..e4cad51de4e2945efbbbb4c45b44fece531c04a3 100644 (file)
@@ -1,4 +1,5 @@
 /* os_unix.c */
+int mch_chdir __ARGS((char *path));
 void mch_write __ARGS((char_u *s, int len));
 int mch_inchar __ARGS((char_u *buf, int maxlen, long wtime, int tb_change_cnt));
 int mch_char_avail __ARGS((void));
index b3624ef6b882d6e48b663105e65857fc78829794..6d1b28b4170cf9372ab1f96b2e2dd9898c232596 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    232,
 /**/
     231,
 /**/