--- trunk/reactos/tools/rbuild/ssprintf.cpp 2005-11-27 22:45:01 UTC (rev 19704)
+++ trunk/reactos/tools/rbuild/ssprintf.cpp 2005-11-27 22:59:20 UTC (rev 19705)
@@ -13,7 +13,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "pch.h"
#ifdef __FreeBSD__
# include <stdlib.h>
@@ -305,7 +304,7 @@
double* __n;
ieee_double_t* n;
} n;
-
+
n.__n = &__n;
if ( exp_sign == 'g' || exp_sign == 'G' || exp_sign == 'e' || exp_sign == 'E' ) {
@@ -496,7 +495,7 @@
double* __n;
ieee_double_t* n;
} n;
-
+
n.__n = &__n;
if ( exp_sign == L'g' || exp_sign == L'G' || exp_sign == L'e' || exp_sign == L'E' ) {
@@ -708,7 +707,7 @@
if ( exp_sign == 'g' || exp_sign == 'G' ) {
type |= ZEROTRUNC;
- if ( exponent < -4 || fabs(exponent) >= precision )
+ if ( exponent < -4 || fabs(exponent) >= precision )
exp_sign -= 2; // g -> e and G -> E
else
exp_sign = 'f';
@@ -739,7 +738,7 @@
if ( exp_sign == 'f' )
{
-
+
buf = (char*)alloca(4096);
if (type & LEFT)
{
@@ -912,7 +911,7 @@
if ( exp_sign == L'g' || exp_sign == L'G' ) {
type |= ZEROTRUNC;
- if ( exponent < -4 || fabs(exponent) >= precision )
+ if ( exponent < -4 || fabs(exponent) >= precision )
exp_sign -= 2; // g -> e and G -> E
else
exp_sign = 'f';
@@ -943,7 +942,7 @@
if ( exp_sign == L'f' )
{
-
+
buf = (wchar_t*)alloca(4096*sizeof(wchar_t));
if (type & LEFT)
{
@@ -1486,7 +1485,7 @@
case 'G':
if (qualifier == 'l' || qualifier == 'L' ) {
_ldouble = va_arg(args, long double);
-
+
if ( _isnanl(_ldouble) )
{
f += "Nan";
@@ -1810,7 +1809,7 @@
if (qualifier == L'l' || qualifier == L'L' )
{
_ldouble = va_arg(args, long double);
-
+
if ( _isnanl(_ldouble) )
{
f += L"Nan";