Commit 1e795591 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Make long long printing work if snprintf is not available. (#332841,

2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gnulib/vasnprintf.c (vasnprintf): Make
	long long printing work if snprintf is not
	available.  (#332841, Michael McDonald)
parent 3c1418ba
2006-04-05 Matthias Clasen <mclasen@redhat.com>
* glib/gnulib/vasnprintf.c (vasnprintf): Make
long long printing work if snprintf is not
available. (#332841, Michael McDonald)
2006-04-05 Behdad Esfahbod <behdad@gnome.org>
* tests/option-test.c: Check the return value of g_get_prgname for
......
2006-04-05 Matthias Clasen <mclasen@redhat.com>
* glib/gnulib/vasnprintf.c (vasnprintf): Make
long long printing work if snprintf is not
available. (#332841, Michael McDonald)
2006-04-05 Behdad Esfahbod <behdad@gnome.org>
* tests/option-test.c: Check the return value of g_get_prgname for
......
......@@ -853,11 +853,19 @@ vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
}
}
count = print_long_long (result + length, maxlen,
#if HAVE_SNPRINTF
count = print_long_long (result + length, maxlen,
width, precision,
dp->flags,
dp->conversion,
arg);
#else
count = print_long_long (tmp, tmp_length,
width, precision,
dp->flags,
dp->conversion,
arg);
#endif
}
break;
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment