aboutsummaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 69052d14dd..e28ec7fe42 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1184,7 +1184,7 @@ static char_u *qf_push_dir(char_u *dirbuf, struct dir_stack_T **stackptr)
vim_free((*stackptr)->dirname);
(*stackptr)->dirname = concat_fnames(ds_new->dirname, dirbuf,
TRUE);
- if (mch_isdir((*stackptr)->dirname) == TRUE)
+ if (os_isdir((*stackptr)->dirname) == TRUE)
break;
ds_new = ds_new->next;
@@ -2866,7 +2866,7 @@ void ex_vimgrep(exarg_T *eap)
/* Remember the current directory, because a BufRead autocommand that does
* ":lcd %:p:h" changes the meaning of short path names. */
- mch_dirname(dirname_start, MAXPATHL);
+ os_dirname(dirname_start, MAXPATHL);
/* Remember the value of qf_start, so that we can check for autocommands
* changing the current quickfix list. */
@@ -3133,7 +3133,7 @@ static void restore_start_dir(char_u *dirname_start)
char_u *dirname_now = alloc(MAXPATHL);
if (NULL != dirname_now) {
- mch_dirname(dirname_now, MAXPATHL);
+ os_dirname(dirname_now, MAXPATHL);
if (STRCMP(dirname_start, dirname_now) != 0) {
/* If the directory has changed, change it back by building up an
* appropriate ex command and executing it. */
@@ -3221,7 +3221,7 @@ load_dummy_buffer (
* Let the caller know what the resulting dir was first, in case it is
* important.
*/
- mch_dirname(resulting_dir, MAXPATHL);
+ os_dirname(resulting_dir, MAXPATHL);
restore_start_dir(dirname_start);
if (!buf_valid(newbuf))