1
0
forked from aniani/vim

updated for version 7.2-233

This commit is contained in:
Bram Moolenaar
2009-07-14 16:38:36 +00:00
parent 2572492eba
commit a2974d70f1
5 changed files with 20 additions and 1 deletions

View 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. */