diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 22:28:19 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 22:32:23 +0200 |
commit | 2731080212fad1430becae0cb56fe33238e7e24a (patch) | |
tree | 14de0a1eb8da856c567256a9b8acf6e5d0005c4f /src/nvim/quickfix.c | |
parent | bb3a0099c6909edc779cf9d2eff9656dab9a967e (diff) | |
download | rneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.gz rneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.bz2 rneovim-2731080212fad1430becae0cb56fe33238e7e24a.zip |
cleanup: remove mch_fopen in favor of os_fopen
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index e030d66e41..cc4a2a90b9 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -863,7 +863,7 @@ qf_init_ext( fields.errmsg = xmalloc(fields.errmsglen); fields.pattern = xmalloc(CMDBUFFSIZE + 1); - if (efile != NULL && (state.fd = mch_fopen((char *)efile, "r")) == NULL) { + if (efile != NULL && (state.fd = os_fopen((char *)efile, "r")) == NULL) { EMSG2(_(e_openerrf), efile); goto qf_init_end; } @@ -5495,7 +5495,7 @@ void ex_helpgrep(exarg_T *eap) + STRLEN(fnames[fi]) - 3, 3) == 0)) { continue; } - fd = mch_fopen((char *)fnames[fi], "r"); + fd = os_fopen((char *)fnames[fi], "r"); if (fd != NULL) { lnum = 1; while (!vim_fgets(IObuff, IOSIZE, fd) && !got_int) { |