Title: strerror is now thread safe by andrew-aitchison · Pull Request #8648 · cppcheck-opensource/cppcheck · GitHub
Open Graph Title: strerror is now thread safe by andrew-aitchison · Pull Request #8648 · cppcheck-opensource/cppcheck
X Title: strerror is now thread safe by andrew-aitchison · Pull Request #8648 · cppcheck-opensource/cppcheck
Description: Before glibc 2.32, strerror() is not MT-Safe. (from man strerror on Ubuntu 26.04). glibc 2.32 was released on 2020-08-05 and glibc 2.43 on 2026-01-24 (from https://sourceware.org/glibc/wiki/Glibc Timeline) This patch stops the threadsafety.py addon from warning about strerror(). strerror was used in test/cli/other_test.py to test threadsafety.py so we also patch that to use a different thread-unsafe function.
Open Graph Description: Before glibc 2.32, strerror() is not MT-Safe. (from man strerror on Ubuntu 26.04). glibc 2.32 was released on 2020-08-05 and glibc 2.43 on 2026-01-24 (from https://sourceware.org/glibc/wiki/Glibc%2...
X Description: Before glibc 2.32, strerror() is not MT-Safe. (from man strerror on Ubuntu 26.04). glibc 2.32 was released on 2020-08-05 and glibc 2.43 on 2026-01-24 (from https://sourceware.org/glibc/wiki/Glibc%2...
Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/8648
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2996b107-5bf1-0456-0d28-e8a89b8f5172 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 98E2:FC07A:4A808D:69F90D:6A4D206D |
| html-safe-nonce | 3359749fc835ef661cef2aa29a83bf1bcf3cc7ddeb611a26a03bb21c799bae41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEUyOkZDMDdBOjRBODA4RDo2OUY5MEQ6NkE0RDIwNkQiLCJ2aXNpdG9yX2lkIjoiNjA1Mzg2NDIwNDg3OTYwMTc3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 266ea7a202f4ee6710033a1980b6a0c53b52e64cd072b0a6bd145e9f32fee9b8 |
| hovercard-subject-tag | pull_request:3860215946 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/8648/files |
| twitter:image | https://avatars.githubusercontent.com/u/45234463?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/45234463?s=400&v=4 |
| og:image:alt | Before glibc 2.32, strerror() is not MT-Safe. (from man strerror on Ubuntu 26.04). glibc 2.32 was released on 2020-08-05 and glibc 2.43 on 2026-01-24 (from https://sourceware.org/glibc/wiki/Glibc%2... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 143131 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/cppcheck |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143131 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/cppcheck |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width