This causes compilation error on FreeBSD: /path/to/WebKit/Source/WTF/wtf/NumberOfCores.cpp:53:13: error: use of undeclared identifier 'sscanf'; did you mean 'vswscanf'? if (sscanf(coresEnv, "%u", &numberOfCores) == 1) { ^~~~~~ vswscanf /usr/include/wchar.h:192:5: note: 'vswscanf' declared here int vswscanf(const wchar_t * __restrict, const wchar_t * __restrict, ^ /path/to/WebKit/Source/WTF/wtf/NumberOfCores.cpp:53:20: error: cannot initialize a parameter of type 'const wchar_t *' with an lvalue of type 'const char *' if (sscanf(coresEnv, "%u", &numberOfCores) == 1) { ^~~~~~~~ /usr/include/wchar.h:192:40: note: passing argument to parameter here int vswscanf(const wchar_t * __restrict, const wchar_t * __restrict, ^ /path/to/WebKit/Source/WTF/wtf/NumberOfCores.cpp:57:21: error: use of undeclared identifier 'stderr' fprintf(stderr, "WARNING: failed to parse WTF_numberOfProcessorCores=%s\n", coresEnv); ^ 2 warnings and 3 errors generated.
Created attachment 305376 [details] Patch
Comment on attachment 305376 [details] Patch Clearing flags on attachment: 305376 Committed r215107: <http://trac.webkit.org/changeset/215107>
All reviewed patches have been landed. Closing bug.