mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-27 03:21:26 +03:00
xmlcatalog: flush stdout before interactive shell input.
This commit is contained in:
parent
cad1634ef4
commit
2137326eda
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user