Add a note about broken scanf() implementations.
This commit is contained in:
+2
-1
@@ -240,7 +240,8 @@ void ElfLinker::preprocessSymbols(char *start, char *end)
|
|||||||
#if 0
|
#if 0
|
||||||
else if (sscanf(start, "%x%*8c %1023s %*x %1023s",
|
else if (sscanf(start, "%x%*8c %1023s %*x %1023s",
|
||||||
#else
|
#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",
|
else if (sscanf(start, "%x%*c%*c%*c%*c%*c%*c%*c%*c %1023s %*x %1023s",
|
||||||
#endif
|
#endif
|
||||||
&offset, section, symbol) == 3)
|
&offset, section, symbol) == 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user