1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib
Felix Janda e50bf6d537 replace: Replace BSD strtoll by wrapping strtoll instead of strtoq
When it is detected that strtoll returns EINVAL not only in the case
that the base is not supported, HAVE_BSD_STRTOLL is declared and
strtoll is replaced. The current replacement code wraps strtoq in
order to replace strtoll and errors out when strtoq is missing.

In order to remove this possible error path, we can use strtoll instead
of strtoq since the code is only used when it is known that strtoll exists.

The fixes a compilation problem on linux systems using musl libc, which
has a BSD-like strtoll but no strtoq.

Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: "Stefan (metze) Metzmacher" <metze@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jun 22 12:49:10 CEST 2015 on sn-devel-104
2015-06-22 12:49:10 +02:00
..
addns s3: IPv6 enabled DNS connections for ADS client 2015-05-15 19:31:23 +02:00
afs waf: add --with-fake-kaserver option 2014-06-04 20:09:38 +02:00
async_req lib: Fix CID 1306765 Unchecked return value from library 2015-06-16 19:22:52 +02:00
compression lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
crypto Prevent clashes between system and Samba SHA functions 2015-06-03 01:54:23 +02:00
dbwrap dbwrap: Remove an unused variable 2015-05-13 01:44:20 +02:00
krb5_wrap krb5_wrap: fix documentation for smb_krb5_principal_get_comp_string(). 2015-03-27 01:26:16 +01:00
ldb Move waf into third_party/. 2015-03-26 22:47:22 +01:00
ldb-samba ldb-samba: implement --show-binary for msDS-RevealedUsers 2015-03-12 17:13:43 +01:00
nss_wrapper nss_wrapper: check for nss.h 2014-10-15 14:06:11 +02:00
param smbd: Offer SMB 3.1.1 by default. 2015-05-08 15:49:32 +02:00
replace replace: Replace BSD strtoll by wrapping strtoll instead of strtoq 2015-06-22 12:49:10 +02:00
resolv_wrapper rwrap: Bump version to 1.1.2. 2015-01-13 19:19:25 +01:00
smbconf lib/smbconf: remove const warning 2014-11-14 23:27:05 +01:00
socket Fix bug # 9666 - Broken filtering of link-local addresses. 2013-02-28 20:56:57 +01:00
socket_wrapper swrap: Bump version to 1.1.3 2015-02-23 20:02:51 +01:00
talloc talloc:guide: fix documented signature of talloc_unlink(). 2015-06-12 17:08:19 +02:00
tdb tdb: version 1.3.6 2015-06-12 19:55:34 +02:00
tdb_wrap Remove ntdb protection from tdb_wrap 2015-03-17 11:30:51 +01:00
tdr lib/tdr/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
tevent tevent: version 0.9.25 2015-06-12 17:08:19 +02:00
texpect texpect: Do not depend on ccan 2015-03-17 11:30:52 +01:00
torture torture: add torture_assert_not_null[_goto] 2015-03-30 13:41:26 +02:00
tsocket Fix a typo 2015-06-19 01:05:17 +02:00
uid_wrapper uwrap: Bump version to 1.1.0. 2015-01-28 19:44:39 +01:00
util s3: smbd: Codenomicon crash in do_smb_load_module(). 2015-06-18 22:14:01 +02:00
README subunit: Update to newer upstream version. 2010-03-29 18:05:29 +02:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
dnspython - Python module for working with DNS.
nss_wrapper - Wrapper for the user and group NSS API allowing the use 
              of other data sources.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
socket_wrapper - Wrapper library allowing TCP/IP traffic to be redirected 
                 over Unix domain sockets.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library