Andrew Tridgell
1c91de687f
r18055: aix needs time.h for timegm.c to compile
2007-10-10 14:17:09 -05:00
Andrew Tridgell
a0bd4f5c4a
r18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
...
compile on hpux
2007-10-10 14:17:08 -05:00
Simo Sorce
dc689b5579
r18046: Add 'z' specifier support and a configure test.
...
Jeremy should I backport this to samba3 too?
2007-10-10 14:17:08 -05:00
Jelmer Vernooij
fe7ca4b145
r18031: Merge my replace fixes:
...
* libreplace can now build stand-alone
* add stub testsuite for libreplace
* make talloc/tdb/ldb use libreplace
2007-10-10 14:17:05 -05:00
Andrew Tridgell
5b9b9dd530
r17992: reverted r17842
...
This needs more consideration, as the patch removed the copyright
notice and license from the timegm.c code.
Volker, when you get a minute can you let me know what problem this
patch fixed so I can find a different approach?
2007-10-10 14:17:02 -05:00
Volker Lendecke
fd166ca0c0
r17842: After talking to Simo, apply the next attempt to resolve the strnlen
...
problem. Timegm is the same. Simo says this is just a workaround, but it helps
for now. Feel free to revert.
Volker
2007-10-10 14:16:47 -05:00
Volker Lendecke
1de3459082
r17841: Revert 17840, libldb.a defines strnlen. Sorry for the noise
2007-10-10 14:16:47 -05:00
Volker Lendecke
ebf75c6196
r17840: A step towards building on Solaris which appears not to have strnlen.
...
Volker
2007-10-10 14:16:47 -05:00
Andrew Tridgell
ed2dbc4dfe
r17763: moved setenv to ldb/replace/
2007-10-10 14:16:38 -05:00
Andrew Tridgell
ac178b5293
r17750: these have moved to ldb/replace/ now
2007-10-10 14:16:36 -05:00
James Peach
b3d2512ed4
r16556: Add mkdtemp to libreplace. This is apparantly available on Linux
...
and BSD systems, but it's not everywhere.
2007-10-10 14:09:34 -05:00
Stefan Metzmacher
092e52c518
r16012: do the type checks before anythingelse
...
metze
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
e0e4f86b30
r16001: we don't use u_intX_t any more
...
metze
2007-10-10 14:08:48 -05:00
Andrew Tridgell
dcce824080
r15896: we're getting a lot of crashes on the build farm due to people
...
assuming that printf("%s", NULL) is OK. The problem is that it is ok
with recent versions of glibc, so the bug isn't noticed by most
developers.
This configure change ensures that we replace snprintf() if it doesn't
handle NULL strings. Then we just need to make sure we use d_printf()
instead of printf() in torture tests to display possibly NULL strings.
2007-10-10 14:08:38 -05:00
Andrew Tridgell
df5bd916db
r15879: strtok_r() replacement, for solaris
2007-10-10 14:08:36 -05:00
Jelmer Vernooij
e9d3660fa6
r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
...
not available on some platforms but is a Samba-specific library.
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
c83e4b1665
r15321: Reduce the size of rewrite.m4 a bit more
2007-10-10 14:05:15 -05:00
Stefan Metzmacher
6c5a2b08ca
r15280: - remove the 2nd check for __FUNCTION__
...
- fallback to __func__ if __FUNCTION__ isn't there
metze
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
a5a648de94
r15203: Allow system 'bool' type to be defined in another header then stdbool.h
2007-10-10 14:04:17 -05:00
Jelmer Vernooij
3f0396aade
r15200: Move MIN/MAX macros to libreplace as some systems have them
...
in sys/param.h
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
76b1576541
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
...
Guarantee availability of __FUNCTION__ in libreplace
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
bfa396a160
r14998: Remove unused autoconf test, move others to proper places
2007-10-10 14:03:59 -05:00
Jelmer Vernooij
bccfddcafa
r14844: Support a stdbool.h replacement in lib/replace/
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
594215d117
r14816: Simplify test for comparison_fn_t
2007-10-10 13:59:23 -05:00
Jelmer Vernooij
ca8db1a0cd
r12592: Remove some useless dependencies
2007-10-10 13:49:00 -05:00
Andrew Tridgell
4483d275e1
r10896: added a strcasestr() replacement function
2007-10-10 13:39:41 -05:00
Jelmer Vernooij
42eb14060d
r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX)
2007-10-10 13:39:00 -05:00
Jelmer Vernooij
03647e1321
r10510: Decrease the amount of data included by includes.h a bit
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
e09ffdfb1d
r10476: Move some more types to libreplace. Fix missing strndup errors
...
for heimdal
2007-10-10 13:38:51 -05:00
Volker Lendecke
8335aa056f
r10472: Check for strndup
2007-10-10 13:38:51 -05:00
Jelmer Vernooij
fbbfad0a1f
r10456: More SCons fixes:
...
- Add framework for fallback generating code
- Move pread / pwrite replacement functions to libreplace
- Support pidl builds correctly
- Support asn1 builds correctly
- Move OS-specific checks to lib/replace/SConscript
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
7be3ec4dbb
r10453: Fix the build
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
b2d2b4f233
r10452: Couple of small scons updates - ignore .sconsign files
2007-10-10 13:38:47 -05:00
Jelmer Vernooij
29919a7105
r10438: Move portability functions to lib/replace/; replace now simply ensures
...
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.
Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
2007-10-10 13:38:45 -05:00
Andrew Tridgell
57e6bd6139
r9374: HPUX is also missing setegid()
2007-10-10 13:33:29 -05:00
Andrew Tridgell
5a38b9a10b
r9370: need a configure test for setresuid()
2007-10-10 13:33:28 -05:00
Andrew Tridgell
e8260a81cf
r9369: an attempt to fix the build on HPUX. This is based on work by Don
...
McCall, but takes a slightly different approach that I hope will be
more generic
2007-10-10 13:33:28 -05:00
Stefan Metzmacher
adebd56be6
r9063: - don't pollute the global $LIBS variable with -ldl
...
- -lresolve seems to not being needed any more
(it's actually not used, and the build farm seem to happy with it)
- move socket and netif configure test to seperate files
- don't pollute the global $LIBS variable with -lsocket ...
- actually make use of the -lsocket when needed
(should fix the solaris build)
metze
2007-10-10 13:31:13 -05:00