comparison src/ex_cmds.c @ 15760:aa80c63f34bb v8.1.0887

patch 8.1.0887: the 'l' flag in :subsitute is sticky commit https://github.com/vim/vim/commit/9474716d39764ac5642e55b5548580cf53bd9bed Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 10 21:55:26 2019 +0100 patch 8.1.0887: the 'l' flag in :subsitute is sticky Problem: The 'l' flag in :subsitute is sticky. Solution: Reset the flag. (Dominique Pelle, closes https://github.com/vim/vim/issues/3925)
author Bram Moolenaar <Bram@vim.org>
date Sun, 10 Feb 2019 22:00:08 +0100
parents 93b78c4a7cd5
children 0d8291665b59
comparison
equal deleted inserted replaced
15759:fa2b1f8d6203 15760:aa80c63f34bb
2096 if (fd < 0) 2096 if (fd < 0)
2097 { 2097 {
2098 fp_out = NULL; 2098 fp_out = NULL;
2099 # ifdef EEXIST 2099 # ifdef EEXIST
2100 /* Avoid trying lots of names while the problem is lack 2100 /* Avoid trying lots of names while the problem is lack
2101 * of premission, only retry if the file already 2101 * of permission, only retry if the file already
2102 * exists. */ 2102 * exists. */
2103 if (errno != EEXIST) 2103 if (errno != EEXIST)
2104 break; 2104 break;
2105 # endif 2105 # endif
2106 } 2106 }
5038 subflags.do_all = FALSE; 5038 subflags.do_all = FALSE;
5039 subflags.do_ask = FALSE; 5039 subflags.do_ask = FALSE;
5040 } 5040 }
5041 subflags.do_error = TRUE; 5041 subflags.do_error = TRUE;
5042 subflags.do_print = FALSE; 5042 subflags.do_print = FALSE;
5043 subflags.do_list = FALSE;
5043 subflags.do_count = FALSE; 5044 subflags.do_count = FALSE;
5044 subflags.do_number = FALSE; 5045 subflags.do_number = FALSE;
5045 subflags.do_ic = 0; 5046 subflags.do_ic = 0;
5046 } 5047 }
5047 while (*cmd) 5048 while (*cmd)