1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Jelmer Vernooij
b6d3fd84a5 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:

- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace

The heimdal-specific code also no longer looks for these functions anymore.
2007-10-10 15:07:51 -05:00
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