summaryrefslogtreecommitdiffstats
path: root/lib/replace/system
Commit message (Collapse)AuthorAgeFilesLines
* replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou2010-12-121-3/+3
|
* libreplace: use CLOCK_HIGHRES when availableBjörn Jacke2010-09-141-3/+5
| | | | in Solaris 8 CLOCK_HIGHRES was the (only) name for CLOCK_MONOTONIC
* libreplace: make a define for a best effort monotonic clockBjörn Jacke2010-08-311-0/+7
|
* libreplace: add clock_gettime replacement function for systems that don't ↵Björn Jacke2010-08-311-0/+6
| | | | have it
* libreplace: move gettimeofday TZ arg check hereBjörn Jacke2010-08-311-0/+10
|
* libreplace: Fix readline build with libedit.James Peach2010-06-031-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>
* libreplace: include sys/file.h only when availableBjörn Jacke2010-05-302-1/+3
| | | | thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
* lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher2010-04-241-0/+7
| | | | | | | | headers This is needed on SLES8. metze
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: updated configure checks or new syntaxAndrew Tridgell2010-04-061-8/+8
|
* build: added checks for solaris getXXent_r() functionsAndrew Tridgell2010-04-061-0/+24
|
* libreplace: Remove the obsolete signal type cast.Andreas Schneider2010-02-231-4/+0
| | | | | AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int.
* libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLEStefan Metzmacher2010-02-081-2/+4
| | | | metze
* libreplace: white space cleanupsBjörn Jacke2009-09-152-12/+12
|
* libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)Matt Kraai2009-08-121-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>
* s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett2009-06-121-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
* Add langinfo.h to the system/locale.hTimur I. Bakeyev2009-06-082-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>
* replace: add fallback define for IOV_MAXStefan Metzmacher2009-06-081-0/+16
| | | | | | This hopefully fixes the build on IRIX. metze
* nss_wrapper: try to fix the build of nss_wrapper on solaris.Günther Deschner2009-05-301-0/+1
| | | | Guenther
* Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij2009-04-201-0/+4
| | | | Windows.)
* Cope with the fact that only _mkdir() exists on Windows and that itJelmer Vernooij2009-04-201-0/+4
| | | | doesn't take a mode argument.
* lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2009-03-111-0/+4
| | | | | | This should fix the build on some hosts. metze
* libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher2009-02-261-2/+4
| | | | | | -DSOCKET_WRAPPER_DISABLE=1 metze
* lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher2009-01-311-1/+5
| | | | | | | Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-1719-0/+1573