]> git.ipfire.org Git - thirdparty/samba.git/commit
libsamba-errors: eliminate dependency on samba-debug
authorMichael Tokarev <mjt@tls.msk.ru>
Mon, 18 Nov 2024 09:45:08 +0000 (12:45 +0300)
committerPavel Filipensky <pfilipensky@samba.org>
Thu, 2 Jan 2025 17:01:30 +0000 (17:01 +0000)
commit6ba12c5dedfd34ad1e4390c7d0007b06ef418101
treec8a44699abdbee0ba4bb37e89bd6038d664bfefe
parentbf239def4fa3e5782b4b14744a97561d49e3a25e
libsamba-errors: eliminate dependency on samba-debug

libsamba-errors is a collection of error codes/descriptions
like strerror(), - it is a set of simple functions converting
error code to string or the like.  However, in one single
place there's a DBG_DEBUG() "call" in errmap_unix.c, in
map_errno_from_nt_status(), which is here for a very long time
(since before samba3, initially with debug level 10).

Drop this debugging info, and eliminate extra dependency.
This makes libsamba-errors independent and self-contained,
with a well-known and stable ABI.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
libcli/util/errmap_unix.c
libcli/util/wscript_build