mirror of
https://github.com/status-im/secp256k1.git
synced 2025-02-24 03:38:12 +00:00
Explicitly disable buffering for stderr in tests
This commit is contained in:
parent
fb424fbba2
commit
a0771d15e6
@ -5174,6 +5174,9 @@ int main(int argc, char **argv) {
|
||||
* diagnostic information. Happens right at the start of main because
|
||||
* setbuf must be used before any other operation on the stream. */
|
||||
setbuf(stdout, NULL);
|
||||
/* Also disable buffering for stderr because it's not guaranteed that it's
|
||||
* unbuffered on all systems. */
|
||||
setbuf(stderr, NULL);
|
||||
|
||||
/* find iteration count */
|
||||
if (argc > 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user