branches with status:
Name Status Last Modified Last Commit
lp:opensrf 1 Development 2024-06-25 19:48:59 UTC
2265. LP2061159: Perform more va_list relat...

Author: Jason Stephenson
Revision Date: 2024-06-25 19:48:59 UTC

LP2061159: Perform more va_list related cleanup

Remove the va_list_size function that is only used in 3 places and
replace it with more idiomatic C code.

While removing va_list_size technically breaks ABI, it is not used
by Evergreen and is unlikely to have been used by any other application
that links to libopensrf. Consequently, the libtool version is left
unchanged by this patch.

Also make modifications to the utils.c and utils.h library code in
libopensrf so that the use of va_start, va_copy, and va_end conforms
to the standard. There are architectures and compilers where the
macros must be balanced at the same scope; also, va_start is supposed
to be used before va_copy.

Signed-off-by: Jason Stephenson <>
Signed-off-by: Galen Charlton <>

11 of 1 result