From owner-cvs-src@FreeBSD.ORG Mon May 16 17:02:07 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30C8116A4CE; Mon, 16 May 2005 17:02:07 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 139DE43D58; Mon, 16 May 2005 17:02:07 +0000 (GMT) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4GH21uR027849; Mon, 16 May 2005 17:02:01 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4GH21L9027848; Mon, 16 May 2005 17:02:01 GMT (envelope-from ume) Message-Id: <200505161702.j4GH21L9027848@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Mon, 16 May 2005 17:02:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/lib/libc/net getaddrinfo.c getnameinfo.c name6.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 17:02:07 -0000 ume 2005-05-16 17:02:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) lib/libc/net getaddrinfo.c getnameinfo.c name6.c Log: MFC: - we are no longer shareing any resources to be locked between getaddrinfo(3) and getipnodeby*(3). - use definitions in reentrant.h. - remove obsolete comment. - now, our getservbyname(3) is thread-safe. So, we don't need to protect it with mutex lock. lib/libc/net/getaddrinfo.c: 1.62, 1.65 lib/libc/net/name6.c: 1.43, 1.44 Revision Changes Path 1.52.2.11 +1 -18 src/lib/libc/net/getaddrinfo.c 1.14.6.5 +2 -24 src/lib/libc/net/getnameinfo.c 1.39.2.5 +10 -17 src/lib/libc/net/name6.c