internal: use strerror_r instead of strerror 60/201560/1
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 15 Mar 2019 14:21:58 +0000 (15:21 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 15 Mar 2019 14:21:58 +0000 (15:21 +0100)
commit0ccdbce93fa07b73e652fc9e21c17302bd1d955a
tree7bbf1bb0f7b2df40bca8acb96d4e40bbd7db6b6a
parent95f1f118c5aebb93006a8702ff821b121abdd016
internal: use strerror_r instead of strerror

strerror() is thread-unsafe. This replaces usage of strerror()
with usage of strerror_r().

Change-Id: I80d1888c1ec24584c57c68a7b2531084f616342f
src/internal/storage_backend_serialized.cpp
src/internal/tslog.cpp
src/internal/tslog.hpp