From owner-freebsd-arch Mon Dec 11 3:27:28 2000 From owner-freebsd-arch@FreeBSD.ORG Mon Dec 11 03:27:25 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C89B37B725 for ; Mon, 11 Dec 2000 03:24:22 -0800 (PST) Received: from mobile.wemm.org (adsl-64-163-195-99.dsl.snfc21.pacbell.net [64.163.195.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 715A46E25BD for ; Mon, 11 Dec 2000 02:01:05 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id eBB9xiK26188; Mon, 11 Dec 2000 01:59:44 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200012110959.eBB9xiK26188@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Dag-Erling Smorgrav Cc: Alfred Perlstein , arch@FreeBSD.ORG Subject: Re: %a and %A formats In-Reply-To: Date: Mon, 11 Dec 2000 01:59:43 -0800 From: Peter Wemm Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Alfred Perlstein writes: > > Glancing at it, I don't see it working properly on different > > endianness. > > You're right, I didn't think about endianness. It should be a trivial > fix (as long as you don't expect it to handle NUXI-style machines) Dont forget gcc's -fformat-extensions code needs to have corresponding patches to check these keyword types. We compile the kernel with this flag specifically for this reason. It understands all the wierd formats (eg: %B etc). Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message