From owner-cvs-all Fri Feb 28 9:33:13 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C704A37B401; Fri, 28 Feb 2003 09:33:10 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C8DD43F93; Fri, 28 Feb 2003 09:33:10 -0800 (PST) (envelope-from glewis@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1SHXA0U054866; Fri, 28 Feb 2003 09:33:10 -0800 (PST) (envelope-from glewis@repoman.freebsd.org) Received: (from glewis@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1SHXAxB054865; Fri, 28 Feb 2003 09:33:10 -0800 (PST) Message-Id: <200302281733.h1SHXAxB054865@repoman.freebsd.org> From: Greg Lewis Date: Fri, 28 Feb 2003 09:33:10 -0800 (PST) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/java/jdk13/files patch-InetAddressImpl.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" 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-all" in the body of the message