forked from aniani/vim
updated for version 7.2-232
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user