summaryrefslogtreecommitdiffstats
path: root/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
* lib/replace: include <sys/uio.h> in "system/filesys.h" in order to have ↵Stefan Metzmacher2011-09-081-0/+4
| | | | | | | | struct iovec This is needed on some platforms, e.g. NetBSD5. metze
* replace: Check if we have mremap() availableSimo Sorce2011-08-142-0/+55
|
* Fix bug 7462 - Non-standard SA_RESETHAND is used in ↵Jeremy Allison2011-08-011-4/+0
| | | | | | | | | ...lib/tevent/tevent_signal.c Make SA_RESETHAND conditional on its existance. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Aug 1 22:03:45 CEST 2011 on sn-devel-104
* replace: remove waring if IOV_MAX is not definedBjörn Jacke2011-05-311-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
* replace: fix build issues on GNU Hurd (#7998)Björn Jacke2011-05-301-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
* Fix bug found when building on an IPv6-only system by Kai Blin.Jeremy Allison2011-05-191-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
* lib/replace: fix an #if HAVE_GSSAPI_GSSAPI_EXT_H to be an #ifdefMichael Adam2011-05-101-1/+1
|
* Fix Samba3 on OpenIndiana.Gordon Ross2011-05-071-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
* kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett2011-04-301-0/+2
|
* libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/authAndrew Bartlett2011-04-271-0/+10
| | | | | | This will allow the GSSAPI PAC fetch code to use it. Andrew Bartlett
* libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett2011-04-141-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
* lib/replace/test: Add missing include for prototype.Jelmer Vernooij2011-03-191-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
* libreplace: Fix prototypes for all functions.Jelmer Vernooij2011-03-194-1/+8
|
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-043-0/+31
| | | | | | | | already used). Bjoern, Metze, please check. Guenther
* libreplace: poll based on selectVolker Lendecke2011-02-285-0/+182
|
* s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell2011-02-171-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>
* replace: Add missing eval to m4 scriptSumit Bose2011-02-101-2/+2
| | | | | Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
* waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner2011-02-071-1/+17
| | | | Guenther
* build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell2011-02-072-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>
* replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher2011-02-033-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
* Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher2011-02-033-6/+1
| | | | | | | | This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148. This still doesn't build for me on ClearOS 5.2. metze
* replace: Try to fix broken sys/capabilites.h on Linux.Andreas Schneider2011-02-023-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
* waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell2011-01-081-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
* lib/replace/testsuite.c - fix test outputMatthias Dieter Wallnöfer2010-12-231-1/+1
|
* change searched name from _ss_family to __ss_familyMatthieu Patou2010-12-121-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Dec 12 20:05:23 CET 2010 on sn-devel-104
* build: add a check for _ss_family as it used on aix to replace ss_familyMatthieu Patou2010-12-121-0/+2
|
* replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou2010-12-121-3/+3
|
* build: add a dependency on lib iconv for lib intl if we are not able to find itMatthieu Patou2010-12-111-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 !
* replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer2010-11-281-1/+1
| | | | metze
* replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer2010-11-281-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
* replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer2010-11-281-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
* replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer2010-11-281-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
* build: a more portable way of finding waf in makefilesAndrew Tridgell2010-11-031-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
* replace/wscript: add size checks for stdint.h typesStefan Metzmacher2010-11-031-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
* replace/wscript: do the size checks directly after the type checksStefan Metzmacher2010-11-031-4/+4
| | | | metze
* replace/wscript: define bool to int instead of off_tStefan Metzmacher2010-11-031-1/+1
| | | | metze
* replace/wscript: check for uint8_tStefan Metzmacher2010-11-031-0/+1
| | | | metze
* replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij2010-10-311-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
* replace: Look harder for waf.Jelmer Vernooij2010-10-311-1/+8
|
* replace: Build using waf by default.Jelmer Vernooij2010-10-315-14/+108
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
* replace: Fix formatting.Jelmer Vernooij2010-10-301-8/+8
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
* replace: Avoid autoproto as it breaks standalone builds.Jelmer Vernooij2010-10-302-1/+10
| | | | | | Automatic prototype generation uses ../../source4/script/mkproto.pl. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* replace: Only build replace-test in standalone build.Jelmer Vernooij2010-10-301-7/+9
| | | | This allows turning libreplace-test back into a subsystem.
* replace: create a private replace-test libraryAndrew Tridgell2010-10-301-5/+8
| | | | used by replace_testuite and smbtorture
* replace: restore the order for #define + rep_strtollMatthieu Patou2010-10-261-3/+3
|
* waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij2010-10-231-1/+1
|
* lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher2010-10-231-2/+2
| | | | metze
* lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2010-10-232-3/+3
| | | | metze
* replace: use replace for non 'samba' compliant strptimeMatthieu Patou2010-10-221-0/+19
|
* replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou2010-10-223-2/+77
|