Skip to content

Commit

Permalink
xmlcatalog: flush stdout before interactive shell input.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Monnerat authored and veillard committed May 1, 2016
1 parent cad1634 commit 2137326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmlcatalog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2137326

Please sign in to comment.