Stefan Metzmacher
412b89afba
lib/replace: move MAXHOSTNAMELEN to system/network.h
...
Some platforms define it in netdb.h, so we should
define the replace after including metdb.h.
metze
2009-01-31 09:32:14 +01:00
Stefan Metzmacher
c28952c555
lib/replace: check if we have dirfd()
...
Note: we only use this internally and don't replace it by default.
metze
2009-01-30 18:42:08 +01:00
Michael Adam
86ed67f073
libreplace: fix detection of netinet/ip.h on solaris 8
...
(The test needs to additionally include <netinet/in_systm.h>.)
Michael
2009-01-27 15:48:54 +01:00
Michael Adam
cdab2a4127
libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled
...
under solaris
Michael
2009-01-27 12:38:01 +01:00
Stefan Metzmacher
7fc7ee9331
lib/replace: add defines to let the callers find out if pwrite and pread are thread/fork safe
...
metze
2009-01-22 12:39:34 +01:00
Jeremy Allison
2234173220
Fix warnings in make test code.
...
Jeremy.
2009-01-02 11:38:24 -08:00
Jelmer Vernooij
bbc95fb1a8
ldb: Fix linking against tevent library (rather than events)
...
replace: Fix copyright for dlfcn.c.
2008-12-23 04:18:31 +01:00
Andreas Schneider
b39611c36b
Fix circular dependency error with autoconf 2.6.3.
...
Signed-off-by: Andreas Schneider <anschneider@suse.de>
2008-11-26 16:44:50 +01:00
Jelmer Vernooij
b327c0a2da
Samba3: Remove more configure tests already done by libreplace.
2008-11-02 17:39:41 +01:00
Jelmer Vernooij
cd55fdd445
Fix return type of readlink().
2008-11-01 04:36:24 +01:00
Jelmer Vernooij
31fa08dcbd
Merge branch 'master' of /home/jelmer/samba3
...
Conflicts:
lib/replace/README
lib/replace/libreplace.m4
lib/replace/replace.c
source3/include/proto.h
source3/lib/system.c
2008-11-01 04:02:47 +01:00
Jelmer Vernooij
5a56c0adf2
Use dup2() replacement from libreplace.
2008-11-01 03:58:14 +01:00
Jelmer Vernooij
6a2caa34b2
Remove sys_chroot() - libreplace already provides an alternative.
2008-11-01 03:46:09 +01:00
Jelmer Vernooij
a6d537bb6c
Move sys_realpath() to libreplace.
2008-11-01 03:42:27 +01:00
Jelmer Vernooij
38d67363ac
Move sys_lchown() to libreplace.
2008-11-01 03:39:20 +01:00
Jelmer Vernooij
e8cda43e17
Move sys_symlink() to libreplace.
2008-11-01 03:35:58 +01:00
Jelmer Vernooij
dbda9adfaf
Move sys_readlink() to libreplace.
2008-11-01 03:33:39 +01:00
Jelmer Vernooij
bbbe6ab722
Move sys_link to libreplace.
2008-11-01 03:30:47 +01:00
Jelmer Vernooij
161d70a57a
Move sys_chown() to rep_chown().
2008-11-01 03:27:45 +01:00
Jelmer Vernooij
aafe9ca1aa
Fix definition of environ on Mac OS X (bugzilla: #5412 ).
2008-10-27 23:39:53 +01:00
Jelmer Vernooij
9de5172a20
Remove duplicate check for volatile, move all utime-checks to
...
libreplace.
2008-10-27 23:23:15 +01:00
Jelmer Vernooij
4ba0453c3c
Fix AC_SEARCH_LIBS_EXT() usage.
2008-10-21 18:33:38 +02:00
Jelmer Vernooij
01a902f599
Fix crypto test.
2008-10-20 18:59:45 +02:00
Jelmer Vernooij
620a27bdf1
Don't assume crypt.h is present even if crypt() is.
2008-10-20 10:38:03 +02:00
Jelmer Vernooij
974ab9d2f9
Use _EXT version of autoconf macro.
2008-10-19 15:47:36 +02:00
Jelmer Vernooij
6ba693b5de
Make sure crypt libs get included.
2008-10-19 14:54:16 +02:00
Jelmer Vernooij
33032d591f
Move ufc to libreplace.
2008-10-18 17:49:41 +02:00
Jelmer Vernooij
3bd73c926e
Define inttypes macros if not provided by system.
2008-10-14 04:12:53 +02:00
Jelmer Vernooij
b96329f4f9
Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)
...
from inttypes.h.
2008-10-14 03:42:54 +02:00
Stefan Metzmacher
05525071e0
libreplace: move main() out of testsuite.c
...
metze
2008-09-22 00:09:12 +02:00
Simo Sorce
49b89633f1
Fix standalone builds adjusting to new relative path.
...
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-19 18:06:46 -04:00
Jelmer Vernooij
7106cd9fd5
Fix merged build.
2008-09-17 14:25:25 +02:00
Jelmer Vernooij
94855cd692
Move common libraries from root to lib/.
2008-09-17 14:11:12 +02:00