svn commit: samba r6412 - branches/SAMBA_3_0/source/smbwrapper
trunk/source/smbwrapper
tpot at samba.org
tpot at samba.org
Thu Apr 21 05:09:06 GMT 2005
Author: tpot
Date: 2005-04-21 05:09:05 +0000 (Thu, 21 Apr 2005)
New Revision: 6412
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6412
Log:
Add fflush(stdout) after displaying username prompt in smbsh if
username not specified on command line. Bugzilla 2611.
Modified:
branches/SAMBA_3_0/source/smbwrapper/smbsh.c
trunk/source/smbwrapper/smbsh.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbwrapper/smbsh.c
===================================================================
--- branches/SAMBA_3_0/source/smbwrapper/smbsh.c 2005-04-21 05:00:29 UTC (rev 6411)
+++ branches/SAMBA_3_0/source/smbwrapper/smbsh.c 2005-04-21 05:09:05 UTC (rev 6412)
@@ -83,6 +83,7 @@
if (!smbw_getshared("USER")) {
printf("Username: ");
+ fflush(stdout);
u = fgets_slash(line, sizeof(line)-1, x_stdin);
smbw_setshared("USER", u);
}
Modified: trunk/source/smbwrapper/smbsh.c
===================================================================
--- trunk/source/smbwrapper/smbsh.c 2005-04-21 05:00:29 UTC (rev 6411)
+++ trunk/source/smbwrapper/smbsh.c 2005-04-21 05:09:05 UTC (rev 6412)
@@ -83,6 +83,7 @@
if (!smbw_getshared("USER")) {
printf("Username: ");
+ fflush(stdout);
u = fgets_slash(line, sizeof(line)-1, x_stdin);
smbw_setshared("USER", u);
}
More information about the samba-cvs
mailing list