forked from aniani/vim
updated for version 7.1-034
This commit is contained in:
@@ -992,20 +992,20 @@ var_redir_str(value, value_len)
|
|||||||
char_u *value;
|
char_u *value;
|
||||||
int value_len;
|
int value_len;
|
||||||
{
|
{
|
||||||
size_t len;
|
int len;
|
||||||
|
|
||||||
if (redir_lval == NULL)
|
if (redir_lval == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (value_len == -1)
|
if (value_len == -1)
|
||||||
len = STRLEN(value); /* Append the entire string */
|
len = (int)STRLEN(value); /* Append the entire string */
|
||||||
else
|
else
|
||||||
len = value_len; /* Append only "value_len" characters */
|
len = value_len; /* Append only "value_len" characters */
|
||||||
|
|
||||||
if (ga_grow(&redir_ga, (int)len) == OK)
|
if (ga_grow(&redir_ga, len) == OK)
|
||||||
{
|
{
|
||||||
mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
|
mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
|
||||||
redir_ga.ga_len += (int)len;
|
redir_ga.ga_len += len;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
var_redir_stop();
|
var_redir_stop();
|
||||||
|
@@ -7829,7 +7829,7 @@ put_bytes(fd, nr, len)
|
|||||||
# if (_MSC_VER <= 1200)
|
# if (_MSC_VER <= 1200)
|
||||||
/* This line is required for VC6 without the service pack. Also see the
|
/* This line is required for VC6 without the service pack. Also see the
|
||||||
* matching #pragma below. */
|
* matching #pragma below. */
|
||||||
/* # pragma optimize("", off) */
|
# pragma optimize("", off)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -7859,7 +7859,7 @@ put_sugtime(spin, fd)
|
|||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# if (_MSC_VER <= 1200)
|
# if (_MSC_VER <= 1200)
|
||||||
/* # pragma optimize("", on) */
|
# pragma optimize("", on)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
34,
|
||||||
/**/
|
/**/
|
||||||
33,
|
33,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user