This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange bash behaviour


Wrong mailing list.  Redirected.

On Wed, Mar 05, 2003 at 11:13:10AM +0100, Malcolm Agnew wrote:
>Consider the program:
>
>int main( int argc, char **argv )
>{
>	printf( "Hello\n" ) ;
>	printf( ">> " ) ;
>	getchar() ;
>}
>On compiling this with gcc the behaviour is as expected. i.e.
>% foo
>Hello
>>> [wait for input]
>But compiling with Visual C produces some strange results.
>1. In an MSDOS window the behaviour is as expected.
>2. In a bash window the two printf's do not get flushed even after hitting any 
>key plus return.
>3. Older versions of cygwin work as expected.
>
>Malcolm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]