[libxml2] xmlcatalog: flush stdout before interactive shell input.



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]