From owner-freebsd-arch Sun Dec 10 8:27:35 2000 From owner-freebsd-arch@FreeBSD.ORG Sun Dec 10 08:27:34 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id DD14F37B400 for ; Sun, 10 Dec 2000 08:27:32 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id RAA50081; Sun, 10 Dec 2000 17:27:18 +0100 (CET) (envelope-from des@ofug.org) Sender: des@ofug.org X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Hajimu UMEMOTO Cc: arch@freebsd.org Subject: Re: %a and %A formats References: <20001211.003800.25391776.ume@mahoroba.org> From: Dag-Erling Smorgrav Date: 10 Dec 2000 17:27:18 +0100 In-Reply-To: Hajimu UMEMOTO's message of "Mon, 11 Dec 2000 00:38:00 +0900 (JST)" Message-ID: Lines: 13 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hajimu UMEMOTO writes: > I don't like this. I've tired enough to address af dependent > programming. What character will you introduce for IPv7 or IPv8...? > Furthermore, IPv6 address has scope that IPv4 doesn't have. %a should > takes struct sockaddr * for the argument instead of struct in_addr *, > and should be address independent. Many (if not most) of the places in the kernel that need this don't have a struct sockaddr available. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message