diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-12-18 17:41:34 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-12-18 17:41:34 -0500 |
commit | 0f859fc99325bbb25d506b28565e4a7385ffe0e6 (patch) | |
tree | a069484f168c2667b8dca5c2231023a15be87a4c /src/stdio/fputc.c | |
parent | 2e1ae3b6b9331383ba5eaa7cb47373a8bea073d1 (diff) | |
download | musl-0f859fc99325bbb25d506b28565e4a7385ffe0e6.tar.gz musl-0f859fc99325bbb25d506b28565e4a7385ffe0e6.tar.xz musl-0f859fc99325bbb25d506b28565e4a7385ffe0e6.zip |
don't suppress sign output for NANs in printf
formally, it seems a sign is only required when the '+' modifier appears in the format specifier, in which case either '+' or '-' must be present in the output. but the specification is written such that an optional negative sign is part of the output format anyway, and the simplest approach to fixing the problem is removing the code that was suppressing the sign.
Diffstat (limited to 'src/stdio/fputc.c')
0 files changed, 0 insertions, 0 deletions