Fabian Homborg 0bde698f81 printf: Don't die on incomplete conversions
POSIX dictates here that incomplete conversions, like in

    printf %d\n 15.2

or

    printf %d 14g

are still printed along with any error.

This seems alright, as it allows users to silence stderr to accept incomplete conversions.

This commit implements it, but what's a bit weird is the ordering between stdout and stderr,
causing the error to be printed _after_, like

    15
    14
    15.1: value not completely converted
    14,2: value not completely converted

but that seems like a general issue with how we buffer the streams.

(I know that nonfatal_error is a copy of most of fatal_error - I tried
differently, and va_* is weird)

Fixes #5532.
2019-03-17 17:00:55 +01:00
..
2018-07-09 20:31:16 -07:00
2019-01-10 20:29:10 -08:00
2019-02-12 20:34:19 +01:00
2019-01-10 20:07:53 -08:00
2019-02-12 20:34:19 +01:00
2019-02-23 13:33:12 -08:00
2018-02-12 10:49:22 -08:00
2019-03-12 23:25:15 -07:00
2019-03-14 10:29:16 -07:00
2019-02-03 18:22:38 -08:00
2019-02-17 13:01:59 -08:00
2019-02-19 16:50:58 -08:00
2019-02-23 13:33:12 -08:00
2019-03-15 20:21:05 -07:00
2019-02-23 13:33:12 -08:00
2019-03-12 23:25:15 -07:00
2019-03-12 15:09:36 -07:00
2019-02-17 13:01:59 -08:00
2019-02-24 13:14:36 -08:00
2019-02-24 13:14:36 -08:00
2019-02-03 18:22:38 -08:00
2019-03-13 07:44:05 -07:00
2019-02-19 16:50:58 -08:00
2019-03-12 23:25:15 -07:00
2019-01-10 20:07:53 -08:00
2019-02-17 14:17:44 -08:00
2019-03-12 23:25:15 -07:00
2019-03-03 11:47:32 -08:00
2019-03-02 16:58:27 -08:00
2019-02-24 13:14:36 -08:00
2019-03-12 23:25:15 -07:00
2019-02-24 13:24:03 -08:00
2018-12-30 19:34:06 +01:00
2019-02-17 13:01:59 -08:00
2019-03-12 23:25:15 -07:00