summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-11-01 13:54:47 -0700
committerElliott Hughes <enh@google.com>2017-11-01 18:13:36 -0700
commit2f9c8ce38a885791dfa4cefb6370b5025c55ae82 (patch)
treeefbdbe306e126b1bad2d3bd455e23e49639f0a64 /libc/stdio/stdio.cpp
parent0cbbdaa5cfa131e33dbfc80ce9b34c9fe1523f08 (diff)
Start de-duplicating the regular and wide printf implementations.
This patch switches to C++ (in anticipation of needing it later), removes a little duplication (via a macro for now), and ensures uniform support for %C/%lc and %S/%ls between regular and wide (with new tests). Since it's so hard to debug problems in printf (as the time I've wasted already today will testify), that's all I want to do in this change. The other 500 lines of diff can wait... (Also merge "floatio.h" into "local.h" now all the users are in forked code.) Bug: http://b/67371539 Test: ran tests Change-Id: I083353d89c32b9302d759ca6967cc6d8a62cd8a5
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions