Mercurial > vim
diff src/os_unix.c @ 1935:5bd06a91c65c v7.2.232
updated for version 7.2-232
author | vimboss |
---|---|
date | Tue, 14 Jul 2009 15:38:41 +0000 |
parents | f339305875fa |
children | e753954c86e2 |
line wrap: on
line diff
--- 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); }