Hi Rene,
Yes, I did a workaround at "io_dopr.c"; there is a code that force this situation; I commented the code (as seen below) and it seems to work fine.
case 'f':
case 'F':
if (! prec_set) {
prec = 6;
} /* Endif */
//------My Workaround------------------------
//?? /*
if (prec == 0) {
prec = 1;
}
*/
//-------------------------------------------
But a little problem still remains:
If the double to be printed is different from 0, it works correctly:
printf("%10.0lf\n", (float)1); -----> give an "1" at stdout
If the double to be printed is 0, it adds an undesired '.':
printf("%10.0lf\n", (float)0); -----> give an "0." at stdout
//-------------------------------------------
I'll try out your patch.
thank you,
regards