diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-09-10 08:43:32 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-09-10 11:26:59 +0200 |
commit | 784ae13097131496f26e9601a0b8ee21c80322d8 (patch) | |
tree | 651c42498550b48bf7f0d5e009f7846198aa8a69 /main/tdb/fix-libreplace.patch | |
parent | 7a9b080c700e21c5995f824823181562d59d5126 (diff) | |
download | aports-784ae13097131496f26e9601a0b8ee21c80322d8.tar.bz2 aports-784ae13097131496f26e9601a0b8ee21c80322d8.tar.xz |
main/tdb: upgrade to 1.3.7
Diffstat (limited to 'main/tdb/fix-libreplace.patch')
-rw-r--r-- | main/tdb/fix-libreplace.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/main/tdb/fix-libreplace.patch b/main/tdb/fix-libreplace.patch index cfe24757ec..e922be0f1a 100644 --- a/main/tdb/fix-libreplace.patch +++ b/main/tdb/fix-libreplace.patch @@ -1,34 +1,5 @@ --- talloc-2.1.0.orig/lib/replace/replace.c +++ talloc-2.1.0/lib/replace/replace.c -@@ -508,28 +508,6 @@ - # error "You need a strtoll function" - #endif - } --#else --#ifdef HAVE_BSD_STRTOLL --#ifdef HAVE_STRTOQ --long long int rep_strtoll(const char *str, char **endptr, int base) --{ -- long long int nb = strtoq(str, endptr, base); -- /* In linux EINVAL is only returned if base is not ok */ -- if (errno == EINVAL) { -- if (base == 0 || (base >1 && base <37)) { -- /* Base was ok so it's because we were not -- * able to make the convertion. -- * Let's reset errno. -- */ -- errno = 0; -- } -- } -- return nb; --} --#else --#error "You need the strtoq function" --#endif /* HAVE_STRTOQ */ --#endif /* HAVE_BSD_STRTOLL */ - #endif /* HAVE_STRTOLL */ - - @@ -546,28 +524,6 @@ # error "You need a strtoull function" #endif |