Imported Upstream version 2.9.4
[platform/upstream/libxml2.git] / xmlcatalog.c
index b9ed6a4..006f0cc 100644 (file)
@@ -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;