mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.1-294
This commit is contained in:
@@ -1160,6 +1160,7 @@ do_filter(line1, line2, eap, cmd, do_in, do_out)
|
|||||||
if (!do_out)
|
if (!do_out)
|
||||||
msg_putchar('\n');
|
msg_putchar('\n');
|
||||||
|
|
||||||
|
/* Create the shell command in allocated memory. */
|
||||||
cmd_buf = make_filter_cmd(cmd, itmp, otmp);
|
cmd_buf = make_filter_cmd(cmd, itmp, otmp);
|
||||||
if (cmd_buf == NULL)
|
if (cmd_buf == NULL)
|
||||||
goto filterend;
|
goto filterend;
|
||||||
@@ -1180,7 +1181,10 @@ do_filter(line1, line2, eap, cmd, do_in, do_out)
|
|||||||
if (do_out)
|
if (do_out)
|
||||||
{
|
{
|
||||||
if (u_save((linenr_T)(line2), (linenr_T)(line2 + 1)) == FAIL)
|
if (u_save((linenr_T)(line2), (linenr_T)(line2 + 1)) == FAIL)
|
||||||
|
{
|
||||||
|
vim_free(cmd_buf);
|
||||||
goto error;
|
goto error;
|
||||||
|
}
|
||||||
redraw_curbuf_later(VALID);
|
redraw_curbuf_later(VALID);
|
||||||
}
|
}
|
||||||
read_linecount = curbuf->b_ml.ml_line_count;
|
read_linecount = curbuf->b_ml.ml_line_count;
|
||||||
@@ -4471,7 +4475,7 @@ do_sub(eap)
|
|||||||
/*
|
/*
|
||||||
* The new text is build up step by step, to avoid too much
|
* The new text is build up step by step, to avoid too much
|
||||||
* copying. There are these pieces:
|
* copying. There are these pieces:
|
||||||
* sub_firstline The old text, unmodifed.
|
* sub_firstline The old text, unmodified.
|
||||||
* copycol Column in the old text where we started
|
* copycol Column in the old text where we started
|
||||||
* looking for a match; from here old text still
|
* looking for a match; from here old text still
|
||||||
* needs to be copied to the new text.
|
* needs to be copied to the new text.
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
294,
|
||||||
/**/
|
/**/
|
||||||
293,
|
293,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user