summaryrefslogtreecommitdiff
path: root/src/output/slbt_output_exec.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-14 15:57:34 -0400
committermidipix <writeonce@midipix.org>2016-05-14 15:57:34 -0400
commit26127d8f542499bf128f11a3f272cd677a7d30d7 (patch)
tree9ab3e29bc5f8ef4d9c1aca5a263e265764b39ccb /src/output/slbt_output_exec.c
parent839fb448c6cdd718d35c4b0860539f114900a106 (diff)
downloadslibtool-26127d8f542499bf128f11a3f272cd677a7d30d7.tar.bz2
slibtool-26127d8f542499bf128f11a3f272cd677a7d30d7.tar.xz
output: flush stdout upon return from the output functions.
Diffstat (limited to 'src/output/slbt_output_exec.c')
-rw-r--r--src/output/slbt_output_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c
index 4001af6..f9d0eda 100644
--- a/src/output/slbt_output_exec.c
+++ b/src/output/slbt_output_exec.c
@@ -54,7 +54,7 @@ static int slbt_output_exec_annotated(
if (fputc('\n',stdout) < 0)
return -1;
- return 0;
+ return fflush(stdout);
}
static int slbt_output_exec_plain(
@@ -74,7 +74,7 @@ static int slbt_output_exec_plain(
if (fputc('\n',stdout) < 0)
return -1;
- return 0;
+ return fflush(stdout);
}
int slbt_output_exec(