From owner-cvs-all Wed Jul 24 11:58:36 2002 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 936EA37B400; Wed, 24 Jul 2002 11:58:33 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45D6843E6E; Wed, 24 Jul 2002 11:58:33 -0700 (PDT) (envelope-from ume@FreeBSD.org) Received: from freefall.freebsd.org (ume@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6OIwXJU071000; Wed, 24 Jul 2002 11:58:33 -0700 (PDT) (envelope-from ume@freefall.freebsd.org) Received: (from ume@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6OIwXVQ070999; Wed, 24 Jul 2002 11:58:33 -0700 (PDT) Message-Id: <200207241858.g6OIwXVQ070999@freefall.freebsd.org> From: Hajimu UMEMOTO Date: Wed, 24 Jul 2002 11:58:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getnameinfo.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 ume 2002/07/24 11:58:32 PDT Modified files: lib/libc/net getnameinfo.c Log: - ntohs() returns unsigned value. - use strlcpy. - snprintf can return negative value, so cope with it. - tweak interface index on interface locals (ff01::/16). - removed unused macros. - removed a macro that uses only once (in a trivial context). - explicitly say goodbye to ENI_xxx. - constify struct afd. Obtained from: KAME MFC after: 1 week Revision Changes Path 1.12 +56 -59 src/lib/libc/net/getnameinfo.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message