summaryrefslogtreecommitdiff
path: root/lib/replace/libreplace.m4
AgeCommit message (Collapse)AuthorFilesLines
2012-04-12Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵Jeremy Allison1-12/+2
should just do it. Still trying to fix the buildfarm. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 12 04:28:29 CEST 2012 on sn-devel-104
2012-04-10On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison1-0/+12
libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
2012-03-24replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij1-1/+2
2012-03-22lib/replace: test for incoherent mmap.Rusty Russell1-0/+7
We test for other mmap features here, and both tdb1 and tdb2 want this check. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-10-27replace: Add checks for setreuid and setregid.Andreas Schneider1-1/+2
2011-10-13config.h: define HAVE_LIBREPLACERusty Russell1-0/+2
tdb2 wants to know if it should use replace.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Oct 13 08:58:35 CEST 2011 on sn-devel-104
2011-08-14replace: Check if we have mremap() availableSimo Sorce1-0/+7
2011-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner1-0/+23
already used). Bjoern, Metze, please check. Guenther
2011-02-03replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher1-0/+2
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
2010-10-19replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell1-0/+1
this is needed for MacOSX 10.4.1
2010-08-31libreplace: move detection of clock_gettime to libreplaceBjörn Jacke1-0/+43
2010-08-13tdb: add TDB_DEPS variable filled with required librariesBjörn Jacke1-1/+7
This is required for Solaris, which needs to link in librt to make use of fdatasync().
2010-03-26libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell1-1/+1
2010-03-05replace: added get_current_dir_name()Andrew Tridgell1-0/+1
2010-02-23libreplace: Remove the obsolete signal type cast.Andreas Schneider1-1/+0
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal handlers to return void, only K&R returned int.
2010-02-13libreplace: add fdatasync() if not availableAndrew Tridgell1-1/+1
2010-02-11libreplace: added replacements for dprintf() and vdprintf()Andrew Tridgell1-1/+1
these are very useful for writing files with formatted writes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-02libreplace: some systems don't have memmem()Andrew Tridgell1-0/+2
added rep_memmem() and a testsuite
2009-09-14Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai1-1/+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-07-19include unix.h if it's availableMatt Kraai1-0/+1
2009-04-20Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij1-1/+1
Windows.)
2009-04-20Move check for syslog out of libreplace to source3/ and source4/.Jelmer Vernooij1-1/+1
This should help compiling talloc on Windows.
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij1-1/+1
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
2008-11-01Use dup2() replacement from libreplace.Jelmer Vernooij1-1/+1
2008-11-01Move sys_realpath() to libreplace.Jelmer Vernooij1-1/+1
2008-11-01Move sys_lchown() to libreplace.Jelmer Vernooij1-1/+1
2008-11-01Move sys_symlink() to libreplace.Jelmer Vernooij1-1/+1
2008-11-01Move sys_readlink() to libreplace.Jelmer Vernooij1-1/+1
2008-11-01Move sys_link to libreplace.Jelmer Vernooij1-1/+1
2008-11-01Move sys_chown() to rep_chown().Jelmer Vernooij1-1/+1
2008-10-27Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij1-0/+1
2008-10-27Remove duplicate check for volatile, move all utime-checks toJelmer Vernooij1-2/+2
libreplace.
2008-10-18Move ufc to libreplace.Jelmer Vernooij1-0/+1
2008-09-19Fix standalone builds adjusting to new relative path.Simo Sorce1-2/+2
Add shared-build target to libreplace. Useful to build multiple standalone libraries that depend on each other without having to install them to the final install dir during the build.
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+308