Problem: When ml_get_buf() fails it messes up IObuff.
Solution: Return a local pointer. (closes #9214)
bhdr_T *hp;
DATA_BL *dp;
static int recursive = 0;
+ static char_u questions[4];
if (lnum > buf->b_ml.ml_line_count) // invalid line number
{
--recursive;
}
errorret:
- STRCPY(IObuff, "???");
+ STRCPY(questions, "???");
buf->b_ml.ml_line_len = 4;
- return IObuff;
+ return questions;
}
if (lnum <= 0) // pretend line 0 is line 1
lnum = 1;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3674,
/**/
3673,
/**/