Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify printf's inlined output buffering routines. On amd64, this | das | 2009-01-17 | 1 | -18/+18 |
| | | | | reduces the code size by about 10% and improves performance slightly. | ||||
* | Reduce code duplication by moving functions that are identical in both | das | 2009-01-15 | 1 | -0/+216 |
| | | | | | vfprintf.c and vfwprintf.c (except for char/wchar_t differences) to a common header file. | ||||
* | Convert the insidious macros that handle printf()'s buffering into | das | 2009-01-15 | 1 | -0/+130 |
slightly less evil inline functions, and move the buffering state into a struct. This will make it possible for helper routines to produce output for printf() directly, making it possible to untangle the code somewhat. In wprintf(), use the same buffering mechanism to reduce diffs to printf(). This has the side-effect of causing wprintf() to catch write errors that it previously ignored. |