summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-07-14 15:38:41 +0000
committerBram Moolenaar <Bram@vim.org>2009-07-14 15:38:41 +0000
commit2572492ebad632ac0162b32961ce049c785cfd8c (patch)
tree0e33a83ff82deeea201892835b5be877034d4df4 /src/os_unix.c
parent3f947ead6fb56a4ff5101069fb56e70476ca9905 (diff)
downloadvim-git-2572492ebad632ac0162b32961ce049c785cfd8c.tar.gz
updated for version 7.2-232v7.2.232
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 102b654a7..3aa397bf6 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -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);
}