summaryrefslogtreecommitdiff
path: root/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06build: added waf build rules for ldbAndrew Tridgell2-10/+42
2010-04-06build: some more config checksAndrew Tridgell1-0/+5
2010-04-06build: added recursive library handlingAndrew Tridgell1-1/+13
2010-04-06build: added target directory optionsAndrew Tridgell2-0/+22
2010-04-06build: neater way to find libreplace and start on tevent waf buildAndrew Tridgell2-19/+72
2010-04-06build: added some comments for tdb buildAndrew Tridgell1-3/+15
2010-04-06build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functionsAndrew Tridgell3-69/+125
2010-04-06build: updates to waf scripts for replace and tallocAndrew Tridgell2-8/+16
2010-04-06build: a first attempt at waf build for talloc and libreplaceAndrew Tridgell2-0/+178
very rough so far
2010-04-04lib/replace: Don't use StrnCpy inside crypt.cKai Blin1-1/+1
With this and the int32_t/int64_t change, talloc crossbuilds to android
2010-04-04lib/replace: use correct inttypes in crypt.cKai Blin1-2/+2
This makes the android crossbuild slightly less broken.
2010-03-30replace: allow memmem() with an empty string to return NULLAndrew Tridgell1-1/+3
This is how FreeBSD behaves. We don't rely on it returning the string in Samba.
2010-03-29s4-waf: use the libreplace strerror_r if neededAndrew Tridgell2-6/+11
2010-03-26libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell3-1/+14
2010-03-24libreplace: fixed declaration of dprintf() on FreeBSDAndrew Tridgell2-2/+12
2010-03-05replace: added get_current_dir_name()Andrew Tridgell3-0/+18
2010-02-23libreplace: Remove the obsolete signal type cast.Andreas Schneider3-13/+4
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int.
2010-02-22Spelling fixes for libreplace.Brad Hards2-2/+2
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-13libreplace: add fdatasync() if not availableAndrew Tridgell2-1/+5
2010-02-11libreplace: added replacements for dprintf() and vdprintf()Andrew Tridgell2-1/+32
these are very useful for writing files with formatted writes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-08libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLEStefan Metzmacher1-2/+4
metze
2010-02-08libreplace: Attempt to fix bug 5910, detect a broken getaddrinfoVolker Lendecke1-0/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02Change uint_t to unsigned int in lib/replaceMatt Kraai4-4/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-26Revert "libreplace: fix unused varibale warning on IRIX"Björn Jacke1-2/+2
this one was broken
2010-01-26libreplace: fix unused varibale warning on IRIXBjörn Jacke1-2/+2
2010-01-23libreplace: Fix a C++ warningVolker Lendecke1-2/+2
2010-01-18Work around bad use of autoconf internaLars Müller1-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-02libreplace: some systems don't have memmem()Andrew Tridgell4-0/+68
added rep_memmem() and a testsuite
2009-12-19Output %p as unsigned in snprintf replacement.Peter Rosin1-0/+1
2009-09-17libreplace: added likely()/unlikely() macros for gccAndrew Tridgell1-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-15libreplace: white space cleanupsBjörn Jacke2-12/+12
2009-09-14Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai7-14/+14
2009-08-24LIBREPLACEOBJ now contains the full pathAndrew Tridgell1-4/+1
2009-08-24make lib/replace more usable in standalone buildsAndrew Tridgell1-2/+2
This makes the lib/replace m4 work in lib/talloc as a standalone build
2009-08-24fixed getpass m4Andrew Tridgell1-2/+2
This allows the getpass.m4 code to work in standalone talloc builds
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-08-08libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNXMatt Kraai1-1/+1
2009-07-19include unix.h if it's availableMatt Kraai2-0/+5
2009-07-05libreplace: update library search path variablesBjörn Jacke1-1/+4
2009-06-15Add new replace check for --version-scriptSimo Sorce1-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-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-09try to get PICFLAG right for HP-UX with gccAndrew Tridgell1-6/+5
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-05-16Fix linker flags on non-Linux GNU platforms.Samuel Thibault1-5/+5
(e.g. Debian GNU/kFreeBSD) Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-05-16Update copies of config.guess and config.sub.Jelmer Vernooij2-76/+282
2009-04-22Avoid using deprecated form of AC_CHECK_TYPE.Brad Hards2-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-20Error out at runtime when seteuid/setresuid or setegid/setresgid are notJelmer Vernooij1-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-20Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij3-2/+6
Windows.)