1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00
Michael Adam 87b48a8126 libreplace: replace inet_ntoa() when it is missing
...not only replace it when it is broken.

This moves the defintion of rep_inet_ntoa from replace.c
to inet_ntoa.c and adds configure checks for existence
of inet_ntoa(). Checks are moved to an include file of its own.

NOTE: The original rep_inet_ntoa in replace.c was wrapped
into a "#ifndef WITH_PTHREADS" but the prototype in replace.h
and the define in system/network.h were not. I removed that
ifndef since the inet_ntoa() function is usually not thread safe
anyways, since it returns a pointer to a static buffer.

So whoever calls inet_ntoa() should be aware that it is not
thread safe anyways.

Michael
(This used to be commit 974c0c45ad42644348e0b55454715b12158f1028)
2008-03-18 16:30:15 +01:00
..
2008-03-14 14:33:55 +01:00
2008-03-14 14:33:55 +01:00
2008-03-18 10:54:28 +01:00
2007-10-10 14:20:34 -05:00
2008-02-29 15:06:05 +01:00
2008-02-18 12:45:27 +01:00
2008-02-19 13:38:59 +01:00
2007-10-10 15:07:10 -05:00