You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/02/04 02:00:56 UTC
[GitHub] [trafficserver] masaori335 commented on a change in pull request #8636: In TsSharedMutex.h, make error reporting thread-safe.
masaori335 commented on a change in pull request #8636:
URL: https://github.com/apache/trafficserver/pull/8636#discussion_r799110694
##########
File path: include/tscpp/util/TsSharedMutex.h
##########
@@ -53,6 +54,30 @@
namespace ts
{
+class Strerror
+{
+public:
+ Strerror(int err_num)
+ {
+ _c_str = strerror_r(err_num, _buf, 256);
+ if (!_c_str) {
Review comment:
This breaks build on macOS https://github.com/apache/trafficserver/issues/8642
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org