The underlying function, bu_vls_vprintf, doesn't interpret formats with "%-*.*s" properly. It's possible that other problems lurk in vls.c, and a comprehensive test needs to be made for all such bu_vls functions to ensure their output is identical to the equivalent libc functions. The attached test file (with Makefile) demonstrates the problem.
Log in to post a comment.