Separate table functions that format their arguments from those that don't.
authorBen Pfaff <blp@gnu.org>
Thu, 16 Jul 2009 04:15:39 +0000 (21:15 -0700)
committerBen Pfaff <blp@gnu.org>
Thu, 16 Jul 2009 04:15:39 +0000 (21:15 -0700)
commit2cf38ce51a9f34961d68a75e0b312a591b5c9abf
tree5f85133dcced8512040b4eba50a0ff47952881d5
parent71cc988f2ad781457fd5d43f284990825fcd9a8d
Separate table functions that format their arguments from those that don't.

The tab_text, tab_joint_text, and tab_output_text functions, until now,
had an option bit TAT_PRINTF that specified whether they passed their text
argument through sprintf.  This interface was bad because it made it
impossible for GCC to tell whether it needed to verify a printf format
string or not.

This commit solves the problem by breaking each of these functions into one
that does format its argument and one that doesn't.
15 files changed:
src/language/data-io/data-parser.c
src/language/data-io/print.c
src/language/dictionary/split-file.c
src/language/dictionary/sys-file-info.c
src/language/stats/binomial.c
src/language/stats/crosstabs.q
src/language/stats/descriptives.c
src/language/stats/examine.q
src/language/stats/oneway.q
src/language/stats/rank.q
src/language/stats/regression.q
src/language/stats/reliability.q
src/language/stats/t-test.q
src/output/table.c
src/output/table.h