Re: RFC: Fix various problems with "printf" and warnings

Eli Zaretskii
2006-01-22T04:28:04Z

> Date: Sat, 21 Jan 2006 19:31:17 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> + else if (*f == ' ')
> + seen_space = 1;
> + else if (*f == ' ')
> + seen_plus = 1;

A typo in the second "else if" clause.

> + case long_double_arg:
> +#ifdef HAVE_LONG_DOUBLE
> + {
> + long double val = value_as_double (val_args[i]);
> + printf_filtered (current_substring, val);

Won't `value_as_double' lose accuracy here, possibly catastrophically
(i.e., a non-zero number coming out as zero, etc.)?