summaryrefslogtreecommitdiff
path: root/source4/lib/replace/inet_ntoa.m4
AgeCommit message (Collapse)AuthorFilesLines
2008-03-18libreplace: remove trailing white spaces.Michael Adam1-1/+1
Michael (This used to be commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)
2008-03-18libreplace: replace inet_ntoa() when it is missingMichael Adam1-0/+19
...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)