strerror_r: provide XSI-compliant strerror_r
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 1 Jun 2017 01:26:38 +0000 (13:26 +1200)
committerJeremy Allison <jra@samba.org>
Tue, 13 Jun 2017 16:38:14 +0000 (18:38 +0200)
commit378ae342c4e2e6b5bafbe54067d35344746be41b
treec6d07db14d53436d1adfd15e4ad61b04570d1855
parent40cc7a1eb339cf45d2b3e121832a89f61dd1776f
strerror_r: provide XSI-compliant strerror_r

Provide a XSI-compliant strerror_r on GNU based systems.
The default GNU strerror_r is not XSI-compliant, this patch wraps the
GNU-specific call in an XSI-compliant wrapper.

This reverts 18ed32ce0821d11c0c06d82c07ba1c27b0c2b886 which tried to
make Heimdal use roken, rather than libreplace for strerror_r.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/replace/replace.c
lib/replace/replace.h
lib/replace/wscript
source4/dsdb/samdb/ldb_modules/password_hash.c
source4/heimdal/lib/roken/strerror_r.c [deleted file]
source4/heimdal_build/config.h
source4/heimdal_build/wscript_build
source4/heimdal_build/wscript_configure