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
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGdef2fdb4b9b5: Fix crashing bug caused by orphan(s) with duplicate prevout.hash
Branches
Unknown
Tags
Unknown

Event Timeline

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