Date: Fri, 28 Feb 2003 09:33:10 -0800 (PST) From: Greg Lewis <glewis@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/java/jdk13/files patch-InetAddressImpl.c Message-ID: <200302281733.h1SHXAxB054865@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glewis 2003/02/28 09:33:10 PST Added files: java/jdk13/files patch-InetAddressImpl.c Log: . 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> Revision Changes Path 1.1 +114 -0 ports/java/jdk13/files/patch-InetAddressImpl.c (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302281733.h1SHXAxB054865>