Commit Graph

4 Commits

Author SHA1 Message Date
Greg Lewis 8f6e64f785 . Take account of the MFC or the *_r functions to RELENG_6.
Submitted by:	ume@
2006-07-19 22:34:45 +00:00
Greg Lewis da0c76df9e . Try to fix the build on FreeBSD-CURRENT, which now defines gethostent_r
itself.

Submitted by:	ume
2006-06-16 17:14:03 +00:00
Greg Lewis 42137ff178 . Update to 1.3.1 patchset 9. 2003-12-19 19:00:06 +00:00
Greg Lewis f0d4b083fc . 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>
2003-02-28 17:33:10 +00:00