diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-10 19:10:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 19:10:29 +0200 |
commit | a03e00a3539ea995c69196aeb35d84912ead8c3f (patch) | |
tree | 2b51edf78bf7c8c62c05a70b67f3b9e7497c1b6e /src/nvim/bufwrite.c | |
parent | 06d48f6aa65a6694f7850246f56f208f98dcc587 (diff) | |
parent | bf36b0f8ec35281dd7e7e350d7d5d2810019d402 (diff) | |
download | rneovim-a03e00a3539ea995c69196aeb35d84912ead8c3f.tar.gz rneovim-a03e00a3539ea995c69196aeb35d84912ead8c3f.tar.bz2 rneovim-a03e00a3539ea995c69196aeb35d84912ead8c3f.zip |
Merge pull request #24875 from bfredl/memfilemap
refactor(memfile): change mf_trans and mf_hash from ad-hoc hashtable to Map
Diffstat (limited to 'src/nvim/bufwrite.c')
-rw-r--r-- | src/nvim/bufwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/bufwrite.c b/src/nvim/bufwrite.c index 2796ed1f0b..445e946543 100644 --- a/src/nvim/bufwrite.c +++ b/src/nvim/bufwrite.c @@ -1402,7 +1402,7 @@ int buf_write(buf_T *buf, char *fname, char *sfname, linenr_T start, linenr_T en while ((fd = os_open(wfname, fflags, mode)) < 0) { // A forced write will try to create a new file if the old one // is still readonly. This may also happen when the directory - // is read-only. In that case the mch_remove() will fail. + // is read-only. In that case the os_remove() will fail. if (err.msg == NULL) { #ifdef UNIX FileInfo file_info; |