summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os_mac.h1
-rw-r--r--src/os_msdos.c6
-rw-r--r--src/os_mswin.c6
-rw-r--r--src/os_riscos.c6
-rw-r--r--src/version.c2
5 files changed, 20 insertions, 1 deletions
diff --git a/src/os_mac.h b/src/os_mac.h
index aadaed776..314ec3248 100644
--- a/src/os_mac.h
+++ b/src/os_mac.h
@@ -291,7 +291,6 @@
# define HAVE_SETENV
# define HAVE_RENAME
# endif
-# define mch_chdir(s) chdir(s)
#endif
#if defined(MACOS_X) && !defined(HAVE_CONFIG_H)
diff --git a/src/os_msdos.c b/src/os_msdos.c
index 6748e6a83..0df20c72b 100644
--- a/src/os_msdos.c
+++ b/src/os_msdos.c
@@ -2039,6 +2039,12 @@ mch_chdir(char *path)
{
if (path[0] == NUL) /* just checking... */
return 0;
+ if (p_verbose >= 5)
+ {
+ verbose_enter();
+ smsg((char_u *)"chdir(%s)", path);
+ verbose_leave();
+ }
if (path[1] == ':') /* has a drive name */
{
if (change_drive(TOLOWER_ASC(path[0]) - 'a' + 1))
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 94cf3a962..c3588e6f5 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -653,6 +653,12 @@ mch_chdir(char *path)
if (path[0] == NUL) /* just checking... */
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 we can change to the drive, skip that part of the path. If we
diff --git a/src/os_riscos.c b/src/os_riscos.c
index 8d6df2780..5c443fce1 100644
--- a/src/os_riscos.c
+++ b/src/os_riscos.c
@@ -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. */
diff --git a/src/version.c b/src/version.c
index 6d1b28b41..aeb708fb8 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 233,
+/**/
232,
/**/
231,