[libxml2] xmlcatalog: flush stdout before interactive shell input.
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] xmlcatalog: flush stdout before interactive shell input.
- Date: Sun, 1 May 2016 10:44:56 +0000 (UTC)
commit 2137326eda6fbbd41a3eb94903cbe8d49f125335
Author: Patrick Monnerat <pm datasphere ch>
Date: Mon Apr 20 15:00:58 2015 +0200
xmlcatalog: flush stdout before interactive shell input.
xmlcatalog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/xmlcatalog.c b/xmlcatalog.c
index b9ed6a4..006f0cc 100644
--- a/xmlcatalog.c
+++ b/xmlcatalog.c
@@ -80,6 +80,7 @@ xmlShellReadline(const char *prompt) {
if (prompt != NULL)
fprintf(stdout, "%s", prompt);
+ fflush(stdout);
if (!fgets(line_read, 500, stdin))
return(NULL);
line_read[500] = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]