From owner-freebsd-arch Wed Dec 13 11:23:48 2000 From owner-freebsd-arch@FreeBSD.ORG Wed Dec 13 11:23:46 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 4B89337B400 for ; Wed, 13 Dec 2000 11:23:45 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id UAA68099; Wed, 13 Dec 2000 20:21:05 +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: Marcel Moolenaar Cc: Marius Bendiksen , Poul-Henning Kamp , Hajimu UMEMOTO , arch@FreeBSD.ORG Subject: Re: %a and %A formats References: <3A37CB39.C2E8AA67@cup.hp.com> From: Dag-Erling Smorgrav Date: 13 Dec 2000 20:21:04 +0100 In-Reply-To: Marcel Moolenaar's message of "Wed, 13 Dec 2000 14:17:13 -0500" 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 Marcel Moolenaar writes: > Using indexes to refer to the arguments (vectors) has an advantage for > i18n. The order of the arguments is related to the language and some > translations produce better messages if the order of the arguments isn't > fixed. Printf() allows you to specify which argument to use for each format specifier. The kernel version doesn't support that, but I don't think it's hard to fix. 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