diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-02-28 17:33:10 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-02-28 17:33:10 +0000 |
commit | f0d4b083fcce416eea10e3ded0821e1310216af7 (patch) | |
tree | e9c2bc4acd96300aeb0f6236143ee3940cac2e5c /japanese/wnn7egg | |
parent | Forced commit to note that this change was also (independently): (diff) |
. 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/wnn7egg')
0 files changed, 0 insertions, 0 deletions