Ben Pfaff wrote: > Here is a revised version. It passes the included tests, so I'll > wait 72 hours for comments and then commit it if no one objects. ... > ChangeLog | 43 ++++++++++++++++++++++++ > lib/c-asprintf.c | 35 +++++++++++++++++++ > lib/c-snprintf.c | 75 +++++++++++++++++++++++++++++++++++++++++ > lib/c-snprintf.h | 46 +++++++++++++++++++++++++ > lib/c-vasnprintf.c | 43 ++++++++++++++++++++++++ > lib/c-vasnprintf.h | 76 +++++++++++++++++++++++++++++++++++++++++ > lib/c-vasprintf.c | 46 +++++++++++++++++++++++++ > lib/c-vasprintf.h | 51 ++++++++++++++++++++++++++++ > lib/c-vsnprintf.c | 74 ++++++++++++++++++++++++++++++++++++++++ > lib/c-vsnprintf.h | 49 +++++++++++++++++++++++++++ > lib/c-xasprintf.c | 34 +++++++++++++++++++ > lib/c-xvasprintf.c | 40 ++++++++++++++++++++++ > lib/c-xvasprintf.h | 58 ++++++++++++++++++++++++++++++++ > modules/c-snprintf | 23 +++++++++++++ > modules/c-snprintf-tests | 17 ++++++++++ > modules/c-vasnprintf | 55 ++++++++++++++++++++++++++++++ > modules/c-vasprintf | 24 +++++++++++++ > modules/c-vasprintf-tests | 17 ++++++++++ > modules/c-vsnprintf | 24 +++++++++++++ > modules/c-vsnprintf-tests | 17 ++++++++++ > modules/c-xvasprintf | 24 +++++++++++++ > modules/c-xvasprintf-tests | 18 ++++++++++ > tests/test-c-snprintf.c | 58 ++++++++++++++++++++++++++++++++ > tests/test-c-snprintf.sh | 15 +++++++++ > tests/test-c-vasprintf.c | 80 > ++++++++++++++++++++++++++++++++++++++++++++ > tests/test-c-vasprintf.sh | 15 +++++++++ > tests/test-c-vsnprintf.c | 73 ++++++++++++++++++++++++++++++++++++++++ > tests/test-c-vsnprintf.sh | 15 +++++++++ > tests/test-c-xvasprintf.c | 78 ++++++++++++++++++++++++++++++++++++++++++ > tests/test-c-xvasprintf.sh | 15 +++++++++ > 30 files changed, 1238 insertions(+)
That sounds great. I haven't reviewed all of that, but really like the idea and am glad to see so many tests. Thanks!