1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Metzmacher
0e88e2e461 r23188: revert 23123 and 23118.
as a long term solution this was the correct approach,
but it's a bit more complex and we need to provide the
whole socket api and libnsl.so checking in libreplace...

as a short term solution to fix the build on host 'hape'
we'll use the same trick as with inet_aton.c from
heimdal's lib/roken/

metze
2007-10-10 14:53:02 -05:00
Michael Adam
9781b13fd3 r23118: Make inet_pton and inet_ntop available through lib/replace.
The code for inet_pton.c and inet_ntop.c is taken from
the rsync code.

I will put this into 3_0 and 3_0_26 too, but let's sort
the readahead issue in lib/replace of 3_0 first...

Michael
2007-10-10 14:52:51 -05:00
Stefan Metzmacher
b69c950858 r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
metze
2007-10-10 14:50:59 -05:00
Stefan Metzmacher
24324fbcff r22273: - provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro

metze
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
2abc79680f r22270: provide __location__ in replace.h
and see how the build-farm likes this simpler version

metze
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
aba6452170 r22215: add strptime replacement to libreplace based on the patch
from jojowil@hvcc.edu to bug 4063

also add a testsuite for strptime()

metze
2007-10-10 14:50:38 -05:00
Stefan Metzmacher
dd83a8dad8 r22152: merge from samba3:
remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze
2007-10-10 14:49:54 -05:00
Stefan Metzmacher
d6de7f2cda r21793: add replacement for unsetenv()
metze
2007-10-10 14:49:27 -05:00
Jelmer Vernooij
74c4783953 r21302: Provide simple redirecting headers for standard headers. 2007-10-10 14:48:06 -05:00
Jelmer Vernooij
8a8e974d21 r19347: Add socketpair() 2007-10-10 14:21:14 -05:00
Jelmer Vernooij
5e951bdeec r18723: Update list of provided macros/defines in README. 2007-10-10 14:19:04 -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
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
e0e4f86b30 r16001: we don't use u_intX_t any more
metze
2007-10-10 14:08:48 -05:00
Jelmer Vernooij
3780e0580b r15868: Add replacement macro for __STRING() 2007-10-10 14:08:34 -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
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
bccfddcafa r14844: Support a stdbool.h replacement in lib/replace/ 2007-10-10 13:59:41 -05:00
Jelmer Vernooij
ca8db1a0cd r12592: Remove some useless dependencies 2007-10-10 13:49:00 -05:00
Stefan Metzmacher
cbe06ade21 r12364: add UINT32_MAX and UINT64_MAX replacement defines
(hopefully fix the build on OpenBSD)

metze
2007-10-10 13:47:31 -05:00
Jelmer Vernooij
4322962074 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
2007-10-10 13:47:19 -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
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
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