Do fflush(stdout) when there was an error.
This commit is contained in:
@@ -235,6 +235,7 @@ int main(int argc, char *argv[])
|
|||||||
exit(0);
|
exit(0);
|
||||||
err:
|
err:
|
||||||
BIO_puts(out,"1\n"); /* make sure bc fails if we are piping to it */
|
BIO_puts(out,"1\n"); /* make sure bc fails if we are piping to it */
|
||||||
|
fflush(stdout);
|
||||||
ERR_load_crypto_strings();
|
ERR_load_crypto_strings();
|
||||||
ERR_print_errors_fp(stderr);
|
ERR_print_errors_fp(stderr);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Reference in New Issue
Block a user