summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-08-18 20:57:27 +0200
committerRalph Böhme <slow@samba.org>2015-08-19 11:22:38 +0200
commit62d08ea715d1664a7600250abbd1dc83f3a33a4c (patch)
tree6928d3bbad3ce52fbdcbce9fac05596cbf6d432b /lib/replace
parent963874279997b98c8b29bee6d2417f81a0e8b0d2 (diff)
downloadsamba-62d08ea715d1664a7600250abbd1dc83f3a33a4c.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
Diffstat (limited to 'lib/replace')
-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);