Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-23 | libreplace: Remove the obsolete signal type cast. | Andreas Schneider | 3 | -13/+4 | |
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int. | |||||
2010-02-22 | Spelling fixes for libreplace. | Brad Hards | 2 | -2/+2 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-13 | libreplace: add fdatasync() if not available | Andrew Tridgell | 2 | -1/+5 | |
2010-02-11 | libreplace: added replacements for dprintf() and vdprintf() | Andrew Tridgell | 2 | -1/+32 | |
these are very useful for writing files with formatted writes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-08 | libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLE | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2010-02-08 | libreplace: Attempt to fix bug 5910, detect a broken getaddrinfo | Volker Lendecke | 1 | -0/+25 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-02 | Change uint_t to unsigned int in lib/replace | Matt Kraai | 4 | -4/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-01-26 | Revert "libreplace: fix unused varibale warning on IRIX" | Björn Jacke | 1 | -2/+2 | |
this one was broken | |||||
2010-01-26 | libreplace: fix unused varibale warning on IRIX | Björn Jacke | 1 | -2/+2 | |
2010-01-23 | libreplace: Fix a C++ warning | Volker Lendecke | 1 | -2/+2 | |
2010-01-18 | Work around bad use of autoconf interna | Lars Müller | 1 | -13/+37 | |
Merge fix made by Andreas Schwab <schwab@linux-m68k.org>. This change had been in use by SUSE since 2008-07-03. | |||||
2010-01-02 | libreplace: some systems don't have memmem() | Andrew Tridgell | 4 | -0/+68 | |
added rep_memmem() and a testsuite | |||||
2009-12-19 | Output %p as unsigned in snprintf replacement. | Peter Rosin | 1 | -0/+1 | |
2009-09-17 | libreplace: added likely()/unlikely() macros for gcc | Andrew Tridgell | 1 | -0/+19 | |
These macros allow the compile to better optimise code that has a lot of if statements. I particularly want to use this for our low level generated NDR code. | |||||
2009-09-15 | libreplace: white space cleanups | Björn Jacke | 2 | -12/+12 | |
2009-09-14 | Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJ | Matt Kraai | 7 | -14/+14 | |
2009-08-24 | LIBREPLACEOBJ now contains the full path | Andrew Tridgell | 1 | -4/+1 | |
2009-08-24 | make lib/replace more usable in standalone builds | Andrew Tridgell | 1 | -2/+2 | |
This makes the lib/replace m4 work in lib/talloc as a standalone build | |||||
2009-08-24 | fixed getpass m4 | Andrew Tridgell | 1 | -2/+2 | |
This allows the getpass.m4 code to work in standalone talloc builds | |||||
2009-08-12 | libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630) | Matt Kraai | 1 | -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-08-08 | libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNX | Matt Kraai | 1 | -1/+1 | |
2009-07-19 | include unix.h if it's available | Matt Kraai | 2 | -0/+5 | |
2009-07-05 | libreplace: update library search path variables | Björn Jacke | 1 | -1/+4 | |
2009-06-15 | Add new replace check for --version-script | Simo Sorce | 1 | -0/+16 | |
Allows us to pass an export files on Linux and Solaris so that we can expose only symbols that are actually supposed to be global, and keep as local anything else. | |||||
2009-06-12 | s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵ | Andrew Bartlett | 1 | -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-09 | try to get PICFLAG right for HP-UX with gcc | Andrew Tridgell | 1 | -6/+5 | |
2009-06-08 | Add langinfo.h to the system/locale.h | Timur I. Bakeyev | 2 | -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-08 | replace: add fallback define for IOV_MAX | Stefan Metzmacher | 1 | -0/+16 | |
This hopefully fixes the build on IRIX. metze | |||||
2009-05-30 | nss_wrapper: try to fix the build of nss_wrapper on solaris. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-05-16 | Fix linker flags on non-Linux GNU platforms. | Samuel Thibault | 1 | -5/+5 | |
(e.g. Debian GNU/kFreeBSD) Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-05-16 | Update copies of config.guess and config.sub. | Jelmer Vernooij | 2 | -76/+282 | |
2009-04-22 | Avoid using deprecated form of AC_CHECK_TYPE. | Brad Hards | 2 | -3/+13 | |
libreplace makes use of an older form of AC_CHECK_TYPE which basically provides a fallback definition for the type if it isn't available. http://www.gnu.org/software/hello/manual/autoconf/Obsolete-Macros.html#Obsolete-Macros shows why this isn't a good idea (its not so important, except for pointer types). This patch partly addresses the issue. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-04-20 | Error out at runtime when seteuid/setresuid or setegid/setresgid are not | Jelmer Vernooij | 1 | -2/+4 | |
available. This means it's possible to compile libreplace when these functions are not available and use it, as long as this particular function is not used. | |||||
2009-04-20 | Only define waitpid replacement if wait4 is available. (It isn't on | Jelmer Vernooij | 3 | -2/+6 | |
Windows.) | |||||
2009-04-20 | Cope with the fact that only _mkdir() exists on Windows and that it | Jelmer Vernooij | 3 | -0/+12 | |
doesn't take a mode argument. | |||||
2009-04-20 | Move check for syslog out of libreplace to source3/ and source4/. | Jelmer Vernooij | 2 | -1/+3 | |
This should help compiling talloc on Windows. | |||||
2009-03-23 | libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGS | Michael Adam | 1 | -2/+2 | |
This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael | |||||
2009-03-17 | build: fix detection of netinet/ip.h on FreeBSD | Timur | 1 | -0/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-03-17 | build: format the header check for netinet/ip.h more nicely | Timur | 1 | -6/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-03-16 | lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵ | Stefan Metzmacher | 1 | -1/+1 | |
are available metze | |||||
2009-03-11 | lib/replace: make sure we include <sys/uio.h> before socket_wrapper.h | Stefan Metzmacher | 2 | -0/+5 | |
This should fix the build on some hosts. metze | |||||
2009-02-26 | libreplace: make it possible to disable socket_wrapper via ↵ | Stefan Metzmacher | 1 | -2/+4 | |
-DSOCKET_WRAPPER_DISABLE=1 metze | |||||
2009-02-23 | More warning fixes for Solaris. | Jeremy Allison | 1 | -9/+0 | |
Jeremy. | |||||
2009-02-23 | all BSDs use this evironment variable | Björn Jacke | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-02-11 | enable IPv6 support for NetBSD, FreeBSD | Björn Jacke | 1 | -0/+1 | |
most systems include netinet/in.h via netdb.h but *BSD don't. | |||||
2009-01-31 | lib/replace: move MAXHOSTNAMELEN to system/network.h | Stefan Metzmacher | 2 | -13/+5 | |
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze | |||||
2009-01-30 | lib/replace: check if we have dirfd() | Stefan Metzmacher | 1 | -0/+3 | |
Note: we only use this internally and don't replace it by default. metze | |||||
2009-01-27 | libreplace: fix detection of netinet/ip.h on solaris 8 | Michael Adam | 1 | -1/+5 | |
(The test needs to additionally include <netinet/in_systm.h>.) Michael | |||||
2009-01-27 | libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled | Michael Adam | 1 | -1/+4 | |
under solaris Michael | |||||
2009-01-22 | lib/replace: add defines to let the callers find out if pwrite and pread are ↵ | Stefan Metzmacher | 1 | -0/+6 | |
thread/fork safe metze |