summaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-InetAddressImpl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* . Rename our internal gethostby{name,addr}_r functions to avoid collisions.Greg Lewis2003-02-281-0/+114
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: svn path=/head/; revision=76659