forked from aniani/vim
updated for version 7.2-233
This commit is contained in:
@@ -291,7 +291,6 @@
|
|||||||
# define HAVE_SETENV
|
# define HAVE_SETENV
|
||||||
# define HAVE_RENAME
|
# define HAVE_RENAME
|
||||||
# endif
|
# endif
|
||||||
# define mch_chdir(s) chdir(s)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MACOS_X) && !defined(HAVE_CONFIG_H)
|
#if defined(MACOS_X) && !defined(HAVE_CONFIG_H)
|
||||||
|
@@ -2039,6 +2039,12 @@ mch_chdir(char *path)
|
|||||||
{
|
{
|
||||||
if (path[0] == NUL) /* just checking... */
|
if (path[0] == NUL) /* just checking... */
|
||||||
return 0;
|
return 0;
|
||||||
|
if (p_verbose >= 5)
|
||||||
|
{
|
||||||
|
verbose_enter();
|
||||||
|
smsg((char_u *)"chdir(%s)", path);
|
||||||
|
verbose_leave();
|
||||||
|
}
|
||||||
if (path[1] == ':') /* has a drive name */
|
if (path[1] == ':') /* has a drive name */
|
||||||
{
|
{
|
||||||
if (change_drive(TOLOWER_ASC(path[0]) - 'a' + 1))
|
if (change_drive(TOLOWER_ASC(path[0]) - 'a' + 1))
|
||||||
|
@@ -653,6 +653,12 @@ mch_chdir(char *path)
|
|||||||
if (path[0] == NUL) /* just checking... */
|
if (path[0] == NUL) /* just checking... */
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
if (p_verbose >= 5)
|
||||||
|
{
|
||||||
|
verbose_enter();
|
||||||
|
smsg((char_u *)"chdir(%s)", path);
|
||||||
|
verbose_leave();
|
||||||
|
}
|
||||||
if (isalpha(path[0]) && path[1] == ':') /* has a drive name */
|
if (isalpha(path[0]) && path[1] == ':') /* has a drive name */
|
||||||
{
|
{
|
||||||
/* If we can change to the drive, skip that part of the path. If we
|
/* If we can change to the drive, skip that part of the path. If we
|
||||||
|
@@ -1203,6 +1203,12 @@ mch_chdir(dir)
|
|||||||
int retval;
|
int retval;
|
||||||
char_u *new_dir;
|
char_u *new_dir;
|
||||||
|
|
||||||
|
if (p_verbose >= 5)
|
||||||
|
{
|
||||||
|
verbose_enter();
|
||||||
|
smsg((char_u *)"chdir(%s)", dir);
|
||||||
|
verbose_leave();
|
||||||
|
}
|
||||||
length = strlen(dir);
|
length = strlen(dir);
|
||||||
if (dir[length - 1] != '.')
|
if (dir[length - 1] != '.')
|
||||||
return chdir(dir); /* No trailing dots - nothing to do. */
|
return chdir(dir); /* No trailing dots - nothing to do. */
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
233,
|
||||||
/**/
|
/**/
|
||||||
232,
|
232,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user