From ca368e0f9bc50a01c3c258c331a48a0ead808a0e Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Wed, 2 Apr 2008 16:34:31 +0200 Subject: [PATCH] Add a note about broken scanf() implementations. --- src/linker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/linker.cpp b/src/linker.cpp index e630ce55..3f8d642c 100644 --- a/src/linker.cpp +++ b/src/linker.cpp @@ -240,7 +240,8 @@ void ElfLinker::preprocessSymbols(char *start, char *end) #if 0 else if (sscanf(start, "%x%*8c %1023s %*x %1023s", #else - // work around broken scanf implementations + // work around broken scanf() implementations + // http://bugs.winehq.org/show_bug.cgi?id=10401 (fixed in Wine 0.9.58) else if (sscanf(start, "%x%*c%*c%*c%*c%*c%*c%*c%*c %1023s %*x %1023s", #endif &offset, section, symbol) == 3)