commit | 0d946b712b955dd66b85c1cfad531905522b21af | [log] [tgz] |
---|---|---|
author | Marcin Niestroj <m.niestroj@grinn-global.com> | Thu Nov 05 14:22:55 2020 +0100 |
committer | Andrew Boie <andrewboie@gmail.com> | Tue Nov 17 12:29:19 2020 -0800 |
tree | 0a6dba44c6ace99ec23963841b981fdb6f2f4f3a | |
parent | 6cc08fc190349a98e56104f1a3be861c8f842153 [diff] |
libc: minimal: print stderr just like stdout So far data that went to stderr was simply dropped in case of minimal libc. In case of newlib stderr was treated same like stdout (e.g. fprintf(stderr, ...) was equivalent to fprintf(stdout, ...). Extend filter on stream pointer to allow both stdout and stderr to pass data to stdout hook (which is Zephyr console backend in most cases). Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>