Mercurial > vim
changeset 1936:85a99ba3eb5a v7.2.233
updated for version 7.2-233
author | vimboss |
---|---|
date | Tue, 14 Jul 2009 16:38:36 +0000 |
parents | 5bd06a91c65c |
children | d92bab35a167 |
files | src/os_mac.h src/os_msdos.c src/os_mswin.c src/os_riscos.c src/version.c |
diffstat | 5 files changed, 20 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)
--- 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))
--- 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
--- 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. */