summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-08-18 20:57:27 +0200
committerStefan Metzmacher <metze@samba.org>2015-08-24 17:21:12 +0200
commit02d549ab4da7b9689f22dd719bdd8b9d66f61d60 (patch)
tree9194215601b3ea31b0b29f6d31dafb19c455c94b
parent610de623d9dfe130656fcf03c761192b17f2751e (diff)
downloadsamba-02d549ab4da7b9689f22dd719bdd8b9d66f61d60.tar.gz
replace: Fix bug 11455
Don't call rep_strtoull recursively Bug: https://bugzilla.samba.org/show_bug.cgi?id=11455 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Wed Aug 19 11:22:38 CEST 2015 on sn-devel-104 (cherry picked from commit 62d08ea715d1664a7600250abbd1dc83f3a33a4c) Autobuild-User(v4-3-test): Stefan Metzmacher <metze@samba.org> Autobuild-Date(v4-3-test): Mon Aug 24 17:21:13 CEST 2015 on sn-devel-104
-rw-r--r--lib/replace/replace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index 0806ce36fa9..798990a9abc 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -538,6 +538,7 @@ long long int rep_strtoll(const char *str, char **endptr, int base)
}
#else
#ifdef HAVE_BSD_STRTOLL
+#undef strtoll
long long int rep_strtoll(const char *str, char **endptr, int base)
{
long long int nb = strtoll(str, endptr, base);