Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move TM and ctags files #1070

Merged
merged 8 commits into from Jul 25, 2016
4 changes: 2 additions & 2 deletions ctags/main/mio.c
Expand Up @@ -590,13 +590,13 @@ int mio_vprintf (MIO *mio, const char *format, va_list ap)
size_t old_pos;
size_t old_size;
va_list ap_copy;
char c;
char dummy;

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);
n = vsnprintf (&dummy, 1, format, ap_copy);
va_end (ap_copy);
if (mem_try_ensure_space (mio, n))
{
Expand Down