lib: Add capability to enable standard glibc behaviour for string to int conversion
commitb1c2f168ceff3e425462563fe5f73a655c77b47e
authorSwen Schillig <swen@linux.ibm.com>
Thu, 11 Apr 2019 12:46:49 +0000 (11 14:46 +0200)
committerRalph Boehme <slow@samba.org>
Sun, 30 Jun 2019 11:32:18 +0000 (30 11:32 +0000)
tree2e766ba9679c2776fc70a97b93ebcd00d3d423b1
parentf0d1339ed5e417915964bf4612123d67bc10f2f2
lib: Add capability to enable standard glibc behaviour for string to int conversion

Adding two addtl. flags SAMBA_STR_ALLOW_NO_CONVERSION and SAMBA_STR_GLIBC_STANDARD
for the wrappers strtoul_err() and strtoull_err() providing the possibility
to get standard glibc behaviour for string to integer conversion.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
lib/util/util.c