| commit | 7cde6573c435830c75fd5d915444388c27aff1e0 | [log] [tgz] |
|---|---|---|
| author | Martin Storsjö <martin@martin.st> | Sat Sep 23 17:43:31 2017 +0300 |
| committer | Martin Storsjö <martin@martin.st> | Sat Sep 30 00:00:42 2017 +0300 |
| tree | 87efa38f20ca96e18544c3889c448f14e2617c15 | |
| parent | 08f75dd36932a8a4c6d51e80c884e21e60cd91e4 [diff] |
crt: Avoid optimizing fprintf calls into fwrite in crt startup code By avoiding turning fprintf(stderr,) into fwrite(stderr,) we can localize the compat wrapping for that to fprintf. Then we shouldn't ever need to worry about functions needing init_compat to be called before they're invoked by the constructor. This allows simplifying the ucrtbase_compat.c code quite significantly. Signed-off-by: Martin Storsjö <martin@martin.st>