Kaydet (Commit) 88feb417 authored tarafından Hans-Joachim Lankenau's avatar Hans-Joachim Lankenau

CWS-TOOLING: integrate CWS cmcfixes78

...@@ -384,7 +384,7 @@ void QueryPrintSignatureDetails( const SignatureInformations& SignatureInformati ...@@ -384,7 +384,7 @@ void QueryPrintSignatureDetails( const SignatureInformations& SignatureInformati
{ {
char cShowDetails; char cShowDetails;
fprintf( stdout, "\nDisplay details (y/n) [y]?" ); fprintf( stdout, "\nDisplay details (y/n) [y]?" );
fflush(stdin); fflush( stdout );
fscanf( stdin, "%c", &cShowDetails); fscanf( stdin, "%c", &cShowDetails);
if ( cShowDetails == 'y' ) if ( cShowDetails == 'y' )
{ {
...@@ -409,7 +409,7 @@ int QuerySelectNumber( int nMin, int nMax ) ...@@ -409,7 +409,7 @@ int QuerySelectNumber( int nMin, int nMax )
do do
{ {
fprintf( stdout, "\nSelect <%d-%d>:", nMin, nMax ) ; fprintf( stdout, "\nSelect <%d-%d>:", nMin, nMax ) ;
fflush(stdin); fflush( stdout );
fscanf( stdin, "%d", &sel ) ; fscanf( stdin, "%d", &sel ) ;
} while( ( sel < nMin ) || ( sel > nMax ) ); } while( ( sel < nMin ) || ( sel > nMax ) );
...@@ -420,7 +420,7 @@ long QueryVerifySignature() ...@@ -420,7 +420,7 @@ long QueryVerifySignature()
{ {
char answer; char answer;
fprintf( stdout, "\nFound a signature - verify this one (y/n) [y]?" ); fprintf( stdout, "\nFound a signature - verify this one (y/n) [y]?" );
fflush(stdin); fflush( stdout );
fscanf( stdin, "%c", &answer); fscanf( stdin, "%c", &answer);
return (answer == 'n')?0:1; return (answer == 'n')?0:1;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment