+Tue May 10 20:08:18 2005 Ben Pfaff <blp@gnu.org>
+
+ * data-in.c: (data_in) Add assertion to check input specifier.
+
+ * data-out.c: (data_out) Add assertion to check output specifier.
+
Tue May 10 19:56:35 2005 Ben Pfaff <blp@gnu.org>
Fix PR 13054.
{
const struct fmt_desc *const fmt = &formats[i->format.type];
+ assert (check_input_specifier (&i->format, 0));
+
/* Check that we've got a string to work with. */
if (i->e == i->s || i->format.w <= 0)
{
int cat = formats[fp->type].cat;
int ok;
+ assert (check_output_specifier (fp, 0));
if (!(cat & FCAT_STRING))
{
/* Numeric formatting. */