pespin has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/osmo-trx/+/42199?usp=email )
Change subject: fix(threads): centralize portable strerror handling ......................................................................
Patch Set 6:
(3 comments)
File CommonLibs/Threads.cpp:
https://gerrit.osmocom.org/c/osmo-trx/+/42199/comment/dc1d0743_499dc82b?usp=... : PS1, Line 58: char *err_str = NULL;
Fixed
Done
https://gerrit.osmocom.org/c/osmo-trx/+/42199/comment/7fdcb4b4_9960e6b4?usp=... : PS1, Line 59: #if defined(__GLIBC__) && defined(_GNU_SOURCE)
I’ve moved this into Utils as a reusable strerror_buf() helper and added a C++ wrapper strerror_str( […]
Done
File CommonLibs/Utils.cpp:
https://gerrit.osmocom.org/c/osmo-trx/+/42199/comment/809bb3a2_cbb4dd14?usp=... : PS2, Line 36:
Replaced all `strerror_r()` with `strerror_buf()`
Done