aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-26 11:18:19 +0200
committerGitHub <noreply@github.com>2019-07-26 11:18:19 +0200
commitb42bfa599b3fc15d0b613cfcff8c742e57854cf3 (patch)
tree14de0a1eb8da856c567256a9b8acf6e5d0005c4f /src/nvim/quickfix.c
parent8a9c9a996322a1d111c55efb156710add68da358 (diff)
parent2731080212fad1430becae0cb56fe33238e7e24a (diff)
downloadrneovim-b42bfa599b3fc15d0b613cfcff8c742e57854cf3.tar.gz
rneovim-b42bfa599b3fc15d0b613cfcff8c742e57854cf3.tar.bz2
rneovim-b42bfa599b3fc15d0b613cfcff8c742e57854cf3.zip
Merge #10589 'os/fs: introduce os_fopen()'
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c4
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) {