From owner-freebsd-arch Mon Jul 10 18:42:20 2000 Delivered-To: freebsd-arch@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 8133B37BA90; Mon, 10 Jul 2000 18:42:14 -0700 (PDT) (envelope-from grog@wantadilla.lemis.com) Received: (from grog@localhost) by wantadilla.lemis.com (8.9.3/8.9.3) id LAA22395; Tue, 11 Jul 2000 11:12:02 +0930 (CST) (envelope-from grog) Date: Tue, 11 Jul 2000 11:12:02 +0930 From: Greg Lehey To: Alfred Perlstein Cc: Mike Smith , arch@FreeBSD.ORG Subject: Re: kernel printf %i? Message-ID: <20000711111202.B22283@wantadilla.lemis.com> References: <20000710173553.J25571@fw.wintelcom.net> <200007110057.RAA08039@mass.osd.bsdi.com> <20000710181533.K25571@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000710181533.K25571@fw.wintelcom.net> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 10 July 2000 at 18:15:33 -0700, Alfred Perlstein wrote: > * Mike Smith [000710 17:49] wrote: >>> * Brian Fundakowski Feldman [000710 17:17] wrote: >>>> On Mon, 10 Jul 2000, Alfred Perlstein wrote: >>>> >>>>> any objections: >>>> >>>> Can you give me a good reason for it? To act like the libc printf() isn't >>>> a good reason, I mean do you think it will actually help anyone in ways >>>> that %d doesn't? Are you noticing tons of submissions of kernel code that >>>> have %i and don't work correctly or something? >>>> >>>> I just don't get it :-/ >>> >>> I was annoyed when I used %i and it didn't work. POLA. >> >> Can I have %Z? It should take an integer argument, and print that many >> 'fnord's. Thankyou. > > Sure, do you want it as a seperate commit or can I bundle it with the > 'i' addition? :) > > Basically what I'm getting is that %i isn't portable over to other > systems? Are there other systems that have %i in the kernel? I tend to agree that "if it ain't broke, don't fix it". It's not exactly new functionality, so about the best it can do is to obfuscate. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message