> + int rv = -1;
> + size_t n;
> + size_t old_pos;
> + size_t old_size;
> + va_list ap_copy;
> + char c;
> +
> + old_pos = mio->impl.mem.pos;
> + old_size = mio->impl.mem.size;
> + va_copy (ap_copy, ap);
> + /* compute the size we will need into the buffer */
> + n = vsnprintf (&c, 1, format, ap_copy);
> + va_end (ap_copy);
> + if (mem_try_ensure_space (mio, n))
> + {
> + unsigned char c;
Done. I'll also port it to uctags.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1070/files/f95656cbe818d69bb4432d14b978ec83764872b2#r71955550