summaryrefslogtreecommitdiff
path: root/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2011-05-31replace: remove waring if IOV_MAX is not definedBjörn Jacke1-2/+0
as discussed on samba-techincal we currelty don't rely on it and we don't want to flood this warning message during compile. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue May 31 18:36:53 CEST 2011 on sn-devel-104
2011-05-30replace: fix build issues on GNU Hurd (#7998)Björn Jacke1-1/+1
Patch from Samuel Thibault <sthibault@debian.org> to fix Debian Bug 610678 resp. BSO #7998. IOV_MAX and UIO_MAXIOV are not defined on GNU Hurd. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon May 30 00:53:59 CEST 2011 on sn-devel-104
2011-05-19Fix bug found when building on an IPv6-only system by Kai Blin.Jeremy Allison1-3/+16
When building on IPv6-only, doing: hints.ai_family = AF_INET; getaddrinfo("0.0.0.0", NULL, &hints, &ppres) fails as AF_INET is unavailable on an IPv6-only system. This causes us to fallback to our replacement getaddrinfo code which is IPv4-only. As we're only trying to detect a specific AIX bug here, broaden the tests to find that bug, and also test for working getaddrinfo in an IPv6-only safe way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 19 02:21:54 CEST 2011 on sn-devel-104
2011-05-10lib/replace: fix an #if HAVE_GSSAPI_GSSAPI_EXT_H to be an #ifdefMichael Adam1-1/+1
2011-05-07Fix Samba3 on OpenIndiana.Gordon Ross1-1/+3
I'd like Samba to use the native OpenLDAP and MIT Kerberos libs. Attached are some patches to do that. (relative to git master) It does not build for me without these. (OpenIndiana is an off-shoot of OpenSolaris See http://www.openindiana.org) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 7 02:20:14 CEST 2011 on sn-devel-104
2011-04-30kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett1-0/+2
2011-04-27libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/authAndrew Bartlett1-0/+10
This will allow the GSSAPI PAC fetch code to use it. Andrew Bartlett
2011-04-14libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett1-105/+5
This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
2011-03-19lib/replace/test: Add missing include for prototype.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
2011-03-19libreplace: Fix prototypes for all functions.Jelmer Vernooij4-1/+8
2011-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner3-0/+31
already used). Bjoern, Metze, please check. Guenther
2011-02-28libreplace: poll based on selectVolker Lendecke5-0/+182
2011-02-17s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell1-8/+0
this needs to be in souce3/, as otherwise it can't handle an in-tree kerberos library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10replace: Add missing eval to m4 scriptSumit Bose1-2/+2
Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
2011-02-07waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner1-1/+17
Guenther
2011-02-07build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell2-12/+0
for the builds that use waf only, these are no longer needed and just cause confusion Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-03replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher3-1/+10
As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Systems like ClearOS 5.2 need linux/types.h very early. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 05:26:12 CET 2011 on sn-devel-104
2011-02-03Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher3-6/+1
This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148. This still doesn't build for me on ClearOS 5.2. metze
2011-02-02replace: Try to fix broken sys/capabilites.h on Linux.Andreas Schneider3-1/+6
As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104
2011-01-08waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell1-2/+4
this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
2010-12-23lib/replace/testsuite.c - fix test outputMatthias Dieter Wallnöfer1-1/+1
2010-12-12change searched name from _ss_family to __ss_familyMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Dec 12 20:05:23 CET 2010 on sn-devel-104
2010-12-12build: add a check for _ss_family as it used on aix to replace ss_familyMatthieu Patou1-0/+2
2010-12-12replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou1-3/+3
2010-12-11build: add a dependency on lib iconv for lib intl if we are not able to find itMatthieu Patou1-1/+12
This is due that on some platform lib intl depend on lib iconv, failling to provide this library cause waf to be unable to link with lib intl and makes it think that the library doesn't exists !
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-1/+1
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-2/+2
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-03build: a more portable way of finding waf in makefilesAndrew Tridgell1-3/+1
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: add size checks for stdint.h typesStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: do the size checks directly after the type checksStefan Metzmacher1-4/+4
metze
2010-11-03replace/wscript: define bool to int instead of off_tStefan Metzmacher1-1/+1
metze
2010-11-03replace/wscript: check for uint8_tStefan Metzmacher1-0/+1
metze
2010-10-31replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij1-6/+0
as these files are checked in, and the source might not be available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
2010-10-31replace: Look harder for waf.Jelmer Vernooij1-1/+8
2010-10-31replace: Build using waf by default.Jelmer Vernooij5-14/+108
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
2010-10-30replace: Fix formatting.Jelmer Vernooij1-8/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
2010-10-30replace: Avoid autoproto as it breaks standalone builds.Jelmer Vernooij2-1/+10
Automatic prototype generation uses ../../source4/script/mkproto.pl. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-30replace: Only build replace-test in standalone build.Jelmer Vernooij1-7/+9
This allows turning libreplace-test back into a subsystem.
2010-10-30replace: create a private replace-test libraryAndrew Tridgell1-5/+8
used by replace_testuite and smbtorture
2010-10-26replace: restore the order for #define + rep_strtollMatthieu Patou1-3/+3
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-23lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher1-2/+2
metze
2010-10-23lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2-3/+3
metze
2010-10-22replace: use replace for non 'samba' compliant strptimeMatthieu Patou1-0/+19
2010-10-22replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou3-2/+77
2010-10-21replace: make libreplace a private libraryAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-19replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell3-1/+7
this is needed for MacOSX 10.4.1
2010-09-22libreplace: fix endless strerror_r has been redefined warnings on AIXBjörn Jacke1-0/+1