New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch.

svn path=/trunk/; revision=49499
This commit is contained in:
Timo Kreuzer 2010-11-05 22:21:36 +00:00
parent 7642321a2c
commit bf49c46b23
34 changed files with 1281 additions and 1 deletions

View file

@ -2814,6 +2814,7 @@ FILE* CDECL tmpfile(void)
return file;
}
#ifndef USE_NEW_SPRINTF
/*********************************************************************
* vfprintf (MSVCRT.@)
*/
@ -2947,6 +2948,7 @@ int CDECL printf(const char *format, ...)
va_end(valist);
return res;
}
#endif
/*********************************************************************
* ungetc (MSVCRT.@)
@ -2984,6 +2986,7 @@ wint_t CDECL ungetwc(wint_t wc, FILE * file)
return mwc;
}
#ifndef USE_NEW_SPRINTF
/*********************************************************************
* wprintf (MSVCRT.@)
*/
@ -2996,6 +2999,7 @@ int CDECL wprintf(const wchar_t *format, ...)
va_end(valist);
return res;
}
#endif
/*********************************************************************
* _getmaxstdio (MSVCRT.@)