aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker/i686-unknown-linux-musl
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-12 11:41:52 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-12 11:41:52 -0800
commit75ecf543eb4077f6918fbb020c39315311a9decf (patch)
tree89e4dffe0d9acff85d7d9ad69ebd3db98a9ba97e /libc/ci/docker/i686-unknown-linux-musl
parent15e0ad34f8a86b685dc6fddae2813560930ca1a7 (diff)
downloadnitrocli-75ecf543eb4077f6918fbb020c39315311a9decf.tar.gz
nitrocli-75ecf543eb4077f6918fbb020c39315311a9decf.tar.bz2
Properly flush stdout before process exit
We exit the program using the process::exit function. This function just exits the program directly, without any cleanup. That can be a problem because IO buffers may not be flushed either. For a (typically) line buffered entity like stdout that may result in data not terminated by a newline symbol being not displayed properly. This change explicitly flushes stdout before exiting the process to alleviate this problem. Note that stderr output is unaffected, because stderr is not buffered by design.
Diffstat (limited to 'libc/ci/docker/i686-unknown-linux-musl')
0 files changed, 0 insertions, 0 deletions