comparison src/message.c @ 1783:c3242ae88ef1 v7.2.081

updated for version 7.2-081
author vimboss
date Tue, 13 Jan 2009 15:38:37 +0000
parents f10fe14748e2
children e9d018b58830
comparison
equal deleted inserted replaced
1782:12cecc379574 1783:c3242ae88ef1
4554 else 4554 else
4555 fmt_spec = fmt_spec == 'g' ? 'e' : 'E'; 4555 fmt_spec = fmt_spec == 'g' ? 'e' : 'E';
4556 remove_trailing_zeroes = TRUE; 4556 remove_trailing_zeroes = TRUE;
4557 } 4557 }
4558 4558
4559 if (fmt_spec == 'f' && abs_f > 1.0e307) 4559 if (fmt_spec == 'f' &&
4560 #ifdef VAX
4561 abs_f > 1.0e38
4562 #else
4563 abs_f > 1.0e307
4564 #endif
4565 )
4560 { 4566 {
4561 /* Avoid a buffer overflow */ 4567 /* Avoid a buffer overflow */
4562 strcpy(tmp, "inf"); 4568 strcpy(tmp, "inf");
4563 str_arg_l = 3; 4569 str_arg_l = 3;
4564 } 4570 }