On Thu, 5 Aug 2021, JonY via Mingw-w64-public wrote:

On 8/5/21 8:10 AM, Martin Storsjö wrote:
The wrong function was assigned; this was a bug present since
0dd9563a3ad71ad75cab1699ba5cfef2dd0bf9d8 (April 2021).

Signed-off-by: Martin Storsjö <[email protected]>
---
  mingw-w64-crt/stdio/ucrt_vfscanf.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-crt/stdio/ucrt_vfscanf.c b/mingw-w64-crt/stdio/ucrt_vfscanf.c
index fe44cdf71..8d1a76a8b 100644
--- a/mingw-w64-crt/stdio/ucrt_vfscanf.c
+++ b/mingw-w64-crt/stdio/ucrt_vfscanf.c
@@ -11,4 +11,4 @@
int __cdecl vfscanf (FILE *__stream, const char *__format, __builtin_va_list __local_argv) { return __stdio_common_vfscanf(0, __stream, __format, NULL, __local_argv);
  }
-int __cdecl (*__MINGW_IMP_SYMBOL(vfscanf))(FILE *, const char *, __builtin_va_list) = vsscanf; +int __cdecl (*__MINGW_IMP_SYMBOL(vfscanf))(FILE *, const char *, __builtin_va_list) = vfscanf;


Wow that was hard to spot, patch looks good to me.

Thanks, pushed this one now.

// Martin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to