Use pthread_once(3) to initialize openssl/libressl just once.

Fixes openssl initialization concurrently by multiple threads.
Close #167
This commit is contained in:
Juan RP
2016-04-22 11:32:34 +02:00
parent 2434b90d6e
commit 228a89d51e
2 changed files with 18 additions and 5 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.52 (???):
* xbps-query(1): fix segfault in -Ro with HTTPS repositories.
Fixes #167. See https://github.com/voidlinux/xbps/issues/167
* xbps-uhelper: the 'arch' target now supports the XBPS_ARCH
and XBPS_TARGET_ARCH environmental variables to override the
resulting architecture.