[brlcad-tracker] [ brlcad-Bugs-3163487 ] bu_vsl_printf doesn't treat "%-*.*s" formats properly
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2011-01-21 17:28:56
|
Bugs item #3163487, was opened at 2011-01-21 11:28 Message generated for change (Tracker Item Submitted) made by tbrowder2 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=3163487&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Geometry Editing Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tom Browder (tbrowder2) Assigned to: Nobody/Anonymous (nobody) Summary: bu_vsl_printf doesn't treat "%-*.*s" formats properly Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=3163487&group_id=105292 |