On 12/16/05, Jesse Allen the3dfxdude@gmail.com wrote:
Hi Alexandre,
This patch is much improved. It passes all tests this time including additional ones you will see in the new tests patch.
Changes: Add pf_is_integer_format to detect integer formats Add pf_integer_conv for I64 types Foward I32 and I to libc's printf Correctly handle long long Update pf_fill to handle the sign for signed integers Fix pf_fill to ignore flags->PadZero for printing zeroes when flags->LeftAlign is set Fix existing pf_is_*_format to require explicit upper and lower case formats Still tolower( flags.Format ) before we use libc's printf (to avoid regressions?) Allow flags.Sign to be ' ' (space) for the sign place holder, also make sure '+' overrides it.