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

4 Commits

Author SHA1 Message Date
Stefan Metzmacher
e562832ad1 r25909: Fix the snprintf checks, and fix a typo in pointer indirection.
These fixes are needed for a working getaddrinfo etc. replacement.
Fixes from Wayne Davison <wayned@samba.org> from rsync.

Jeremy.

from v3-2-test commit 494bf6293b
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
25a892f2ad r25725: merge commit bc9008aa1d from v3-2-test:
Author:     Jeremy Allison <jra@samba.org>
AuthorDate: Wed Oct 24 14:40:24 2007 -0700

We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code.

Jeremy.
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
57d5cf4b5f r25724: - include getaddrinfo.h after we have defined struct addrinfo
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions

metze
2007-12-21 05:43:29 +01:00
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