summaryrefslogtreecommitdiffstats
path: root/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
* Fix linker flags on non-Linux GNU platforms.Samuel Thibault2009-05-161-5/+5
| | | | | | (e.g. Debian GNU/kFreeBSD) Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Update copies of config.guess and config.sub.Jelmer Vernooij2009-05-162-76/+282
|
* Avoid using deprecated form of AC_CHECK_TYPE.Brad Hards2009-04-222-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>
* Error out at runtime when seteuid/setresuid or setegid/setresgid are notJelmer Vernooij2009-04-201-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.
* Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij2009-04-203-2/+6
| | | | Windows.)
* Cope with the fact that only _mkdir() exists on Windows and that itJelmer Vernooij2009-04-203-0/+12
| | | | doesn't take a mode argument.
* Move check for syslog out of libreplace to source3/ and source4/.Jelmer Vernooij2009-04-202-1/+3
| | | | This should help compiling talloc on Windows.
* libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam2009-03-231-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
* build: fix detection of netinet/ip.h on FreeBSDTimur2009-03-171-0/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* build: format the header check for netinet/ip.h more nicelyTimur2009-03-171-6/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵Stefan Metzmacher2009-03-161-1/+1
| | | | | | are available metze
* lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2009-03-112-0/+5
| | | | | | 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
* More warning fixes for Solaris.Jeremy Allison2009-02-231-9/+0
| | | | Jeremy.
* all BSDs use this evironment variableBjörn Jacke2009-02-231-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* enable IPv6 support for NetBSD, FreeBSDBjörn Jacke2009-02-111-0/+1
| | | | most systems include netinet/in.h via netdb.h but *BSD don't.
* lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher2009-01-312-13/+5
| | | | | | | Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
* lib/replace: check if we have dirfd()Stefan Metzmacher2009-01-301-0/+3
| | | | | | Note: we only use this internally and don't replace it by default. metze
* libreplace: fix detection of netinet/ip.h on solaris 8Michael Adam2009-01-271-1/+5
| | | | | | (The test needs to additionally include <netinet/in_systm.h>.) Michael
* libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiledMichael Adam2009-01-271-1/+4
| | | | | | under solaris Michael
* lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher2009-01-221-0/+6
| | | | | | thread/fork safe metze
* Fix warnings in make test code.Jeremy Allison2009-01-021-2/+6
| | | | Jeremy.
* ldb: Fix linking against tevent library (rather than events)Jelmer Vernooij2008-12-231-0/+1
| | | | replace: Fix copyright for dlfcn.c.
* Fix circular dependency error with autoconf 2.6.3.Andreas Schneider2008-11-261-0/+2
| | | | Signed-off-by: Andreas Schneider <anschneider@suse.de>
* Samba3: Remove more configure tests already done by libreplace.Jelmer Vernooij2008-11-021-1/+9
|
* Fix return type of readlink().Jelmer Vernooij2008-11-011-1/+1
|
* Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2008-11-014-1/+94
|\ | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
| * Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij2008-11-012-2/+5
| |
| * Move sys_realpath() to libreplace.Jelmer Vernooij2008-11-014-1/+18
| |
| * Move sys_lchown() to libreplace.Jelmer Vernooij2008-11-014-1/+14
| |
| * Move sys_symlink() to libreplace.Jelmer Vernooij2008-11-014-1/+16
| |
| * Move sys_readlink() to libreplace.Jelmer Vernooij2008-11-014-1/+14
| |
| * Move sys_link to libreplace.Jelmer Vernooij2008-11-014-1/+15
| |
| * Move sys_chown() to rep_chown().Jelmer Vernooij2008-11-014-1/+20
| |
* | Use dup2() replacement from libreplace.Jelmer Vernooij2008-11-014-1/+16
|/
* Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij2008-10-272-0/+10
|
* Remove duplicate check for volatile, move all utime-checks toJelmer Vernooij2008-10-272-2/+6
| | | | libreplace.
* Fix AC_SEARCH_LIBS_EXT() usage.Jelmer Vernooij2008-10-211-3/+2
|
* Fix crypto test.Jelmer Vernooij2008-10-201-1/+1
|
* Don't assume crypt.h is present even if crypt() is.Jelmer Vernooij2008-10-202-0/+3
|
* Use _EXT version of autoconf macro.Jelmer Vernooij2008-10-191-1/+1
|
* Make sure crypt libs get included.Jelmer Vernooij2008-10-191-1/+1
|
* Move ufc to libreplace.Jelmer Vernooij2008-10-184-0/+784
|
* Define inttypes macros if not provided by system.Jelmer Vernooij2008-10-141-0/+48
|
* Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)Jelmer Vernooij2008-10-141-0/+1
| | | | from inttypes.h.
* libreplace: move main() out of testsuite.cStefan Metzmacher2008-09-223-12/+38
| | | | metze
* Fix standalone builds adjusting to new relative path.Simo Sorce2008-09-195-6/+31
| | | | | | 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.
* Fix merged build.Jelmer Vernooij2008-09-171-0/+2
|
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-1765-0/+14655