Fix variable argument list traversal for doubles.
authorDanny Milosavljevic <dannym@scratchpost.org>
Tue, 27 Aug 2019 02:04:56 +0000 (04:04 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 27 Aug 2019 02:04:56 +0000 (04:04 +0200)
commit4c77c2c9ca67d9210c882a432b58bf552b59174a
tree81aa1bbc5696c52c3f6bac476219379b132fe369
parent58fb0cf764ac47204d22a10c709a4635d8bb5f0a
Fix variable argument list traversal for doubles.

* include/stdarg.h (va_align): New macro.
(va_arg8): New macro.
* lib/stdio/vfprintf.c (vfprintf): Use it.
* lib/stdio/vsnprintf.c (vsnprintf): Use it.
include/stdarg.h
lib/stdio/vfprintf.c
lib/stdio/vsnprintf.c