Date: Wed, 19 Oct 1994 14:30:45 -0400 From: Howard Kaikow To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: SCANF "hangs" with DJGPP. not with MS C7.0 Cc: kaikow AT standards DOT com It also does not hang with gcc on BSDI. >From kaikow AT standards DOT com Wed Oct 19 14:21:17 1994 >Date: Wed, 19 Oct 1994 14:21:02 -0400 >From: Howard Kaikow >To: djgpp AT sun DOT soe DOT clarkson DOT edu >Subject: SCANF "hangs" with DJGPP. not with MS C7.0 >Cc: kaikow AT standards DOT com > >Using the program below with the following input line > >22.328.34E-09 > >The scanf hangs waiting for more input. This does not occur with MS C 7.0. > >#include >int main (void) >{ > float kgs, share; > > scanf("%f%f", &kgs, &share); > printf("%f %f\n", kgs, share); > return 0; >} > >