diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-08-29 23:53:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-08-29 23:53:45 -0400 |
commit | a43a7b215cf7b71d1371c63927c17bae7177aa95 (patch) | |
tree | c3766205559ed56d7f281a584a4be39cac13dc64 /src/stdio/perror.c | |
parent | f1791f42ef6d22e68dfc1ee45c0a478b156ce46d (diff) | |
download | musl-a43a7b215cf7b71d1371c63927c17bae7177aa95.tar.gz musl-a43a7b215cf7b71d1371c63927c17bae7177aa95.tar.bz2 musl-a43a7b215cf7b71d1371c63927c17bae7177aa95.tar.xz musl-a43a7b215cf7b71d1371c63927c17bae7177aa95.zip |
make vfprintf set stream orientation even for zero-length output
if no output is produced, no underlying fwrite will ever be called,
but byte-oriented printf functions are still required to set the
orientation of the stream to byte-oriented. call __towrite explicitly
if the FILE is not already in write mode.
Diffstat (limited to 'src/stdio/perror.c')
0 files changed, 0 insertions, 0 deletions