aboutsummaryrefslogtreecommitdiff
path: root/japanese/eb
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-02-28 17:33:10 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-02-28 17:33:10 +0000
commitf0d4b083fcce416eea10e3ded0821e1310216af7 (patch)
treee9c2bc4acd96300aeb0f6236143ee3940cac2e5c /japanese/eb
parente0a8efd88b157f20c111c64d13ab4e626d558386 (diff)
downloadports-f0d4b083fcce416eea10e3ded0821e1310216af7.tar.gz
ports-f0d4b083fcce416eea10e3ded0821e1310216af7.zip
. Rename our internal gethostby{name,addr}_r functions to avoid collisions.
Currently gethostbyaddr_r collides with the implementation (in libc!) for FreeBSD 5.x which both uses a different prototype (as per the Linux version) and is marked temporary and not thread safe. Also, limit the scope of these internal implementations to this file. This fixes crashes in networked applications for FreeBSD 5.x. Some tweaks (making the functions static, naming, BSD ifdefs) by me. Submitted by: "Georg-W. Koltermann" <g.w.k@web.de>
Notes
Notes: svn path=/head/; revision=76659
Diffstat (limited to 'japanese/eb')
0 files changed, 0 insertions, 0 deletions