HomePhabricator

Use explicit fflush() instead of setvbuf()
e982b574a5e8Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Use explicit fflush() instead of setvbuf()

Flushing after every line when printing to console is desirable when
running with systemd but setvbuf() has slightly different semantics
on Windows that causes warnings. Just do an explicit fflush() after
each line print to console instead.

Details

Provenance
Adam Weiss <adam@signal11.com>Authored on Sep 10 2014, 16:26
deadalnixPushed on May 14 2017, 22:04
Parents
rABCdef2fdb4b9b5: Fix crashing bug caused by orphan(s) with duplicate prevout.hash
Branches
Unknown
Tags
Unknown

Event Timeline

Adam Weiss <adam@signal11.com> committed rABCe982b574a5e8: Use explicit fflush() instead of setvbuf() (authored by Adam Weiss <adam@signal11.com>).Sep 10 2014, 16:48