git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d380c49
)
flush after showing the prompt in smbclient
author
Andrew Tridgell
<tridge@samba.org>
Thu, 19 Mar 2009 05:07:07 +0000
(16:07 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 19 Mar 2009 05:07:07 +0000
(16:07 +1100)
source4/lib/smbreadline/smbreadline.c
patch
|
blob
|
history
diff --git
a/source4/lib/smbreadline/smbreadline.c
b/source4/lib/smbreadline/smbreadline.c
index 5fb3bf4fae420aad123cdc55087a4f2d6cdcc8ff..b07417357f63bdb6e937a18334b82059a8a79ccc 100644
(file)
--- a/
source4/lib/smbreadline/smbreadline.c
+++ b/
source4/lib/smbreadline/smbreadline.c
@@
-83,6
+83,7
@@
static char *smb_readline_replacement(const char *prompt, void (*callback)(void)
char *ret;
printf("%s", prompt);
+ fflush(stdout);
line = (char *)malloc(BUFSIZ);
if (!line) {