From: Aida JonikienÄ— aidas957@gmail.com
One game spams this function so much that it becomes the single biggest contributor to the Wine log size. --- dlls/msvcrt/scanf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/msvcrt/scanf.c b/dlls/msvcrt/scanf.c index 89575101471..d71a9c5c1d4 100644 --- a/dlls/msvcrt/scanf.c +++ b/dlls/msvcrt/scanf.c @@ -710,7 +710,9 @@ int CDECL __stdio_common_vfscanf(unsigned __int64 options, _locale_t locale, va_list valist) { - if (options & ~_CRT_INTERNAL_SCANF_SECURECRT) + static unsigned int once; + + if ((options & ~_CRT_INTERNAL_SCANF_SECURECRT) && !once++) FIXME("options %#I64x not handled\n", options); if (options & _CRT_INTERNAL_SCANF_SECURECRT) return vfscanf_s_l(file, format, locale, valist);