From e3beb9beeb43afe311b5c0eea2beac344e8c12d4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 18 Aug 2015 20:57:27 +0200 Subject: [PATCH] replace: Fix bug 11455 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't call rep_strtoull recursively Bug: https://bugzilla.samba.org/show_bug.cgi?id=11455 Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Wed Aug 19 11:22:38 CEST 2015 on sn-devel-104 (cherry picked from commit 62d08ea715d1664a7600250abbd1dc83f3a33a4c) --- lib/replace/replace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/replace/replace.c b/lib/replace/replace.c index 0806ce3..798990a 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); -- 1.9.1