summaryrefslogtreecommitdiff
path: root/lib/replace/system
AgeCommit message (Collapse)AuthorFilesLines
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-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner1-0/+7
already used). Bjoern, Metze, please check. Guenther
2011-02-28libreplace: poll based on selectVolker Lendecke2-0/+40
2011-02-03Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher2-5/+0
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 Schneider2-0/+5
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
2010-12-12replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou1-3/+3
2010-09-14libreplace: use CLOCK_HIGHRES when availableBjörn Jacke1-3/+5
in Solaris 8 CLOCK_HIGHRES was the (only) name for CLOCK_MONOTONIC
2010-08-31libreplace: make a define for a best effort monotonic clockBjörn Jacke1-0/+7
2010-08-31libreplace: add clock_gettime replacement function for systems that don't ↵Björn Jacke1-0/+6
have it
2010-08-31libreplace: move gettimeofday TZ arg check hereBjörn Jacke1-0/+10
2010-06-03libreplace: Fix readline build with libedit.James Peach1-1/+7
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef, but uses a internal typedef names CPPFunction. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-30libreplace: include sys/file.h only when availableBjörn Jacke2-1/+3
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
2010-04-24lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher1-0/+7
headers This is needed on SLES8. metze
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: updated configure checks or new syntaxAndrew Tridgell1-8/+8
2010-04-06build: added checks for solaris getXXent_r() functionsAndrew Tridgell1-0/+24
2010-02-23libreplace: Remove the obsolete signal type cast.Andreas Schneider1-4/+0
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int.
2010-02-08libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLEStefan Metzmacher1-2/+4
metze
2009-09-15libreplace: white space cleanupsBjörn Jacke2-12/+12
2009-08-12libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)Matt Kraai1-0/+14
Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX 6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This prevents smbd from opening any sockets. If I undefine AI_ADDRCONFIG on such systems and allow lib/replace/system/network.h to define it to be 0, this works around the issue. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-12s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett1-1/+5
904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett
2009-06-08Add langinfo.h to the system/locale.hTimur I. Bakeyev2-1/+5
This patch for Samba4. It's not really inspired by any real need, just for the consistency. We define replace/system/locale.h as a generic header, that includes all locale related headers and we are using nl_langinfo at least in Samba3. So, it would be consistent to add yet another locale-related header to the set of locale.h headers. Here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08replace: add fallback define for IOV_MAXStefan Metzmacher1-0/+16
This hopefully fixes the build on IRIX. metze
2009-05-30nss_wrapper: try to fix the build of nss_wrapper on solaris.Günther Deschner1-0/+1
Guenther
2009-04-20Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij1-0/+4
Windows.)
2009-04-20Cope with the fact that only _mkdir() exists on Windows and that itJelmer Vernooij1-0/+4
doesn't take a mode argument.
2009-03-11lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher1-0/+4
This should fix the build on some hosts. metze
2009-02-26libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher1-2/+4
-DSOCKET_WRAPPER_DISABLE=1 metze
2009-01-31lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher1-1/+5
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij19-0/+1573