From owner-cvs-all Mon Dec 4 11:55:39 2000 From owner-cvs-all@FreeBSD.ORG Mon Dec 4 11:55:35 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mobile.wemm.org (adsl-64-163-195-99.dsl.snfc21.pacbell.net [64.163.195.99]) by hub.freebsd.org (Postfix) with ESMTP id ED74837B400; Mon, 4 Dec 2000 11:55:34 -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 eB4JtWJ11058; Mon, 4 Dec 2000 11:55:33 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200012041955.eB4JtWJ11058@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: John Baldwin Cc: Jeroen Ruigrok van der Werven , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/tail forward.c read.c reverse.c tail In-Reply-To: Date: Mon, 04 Dec 2000 11:55:32 -0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Baldwin wrote: > > On 03-Dec-00 Jeroen Ruigrok van der Werven wrote: > > asmodai 2000/12/03 09:05:45 PST > > > > Modified files: > > usr.bin/tail forward.c read.c reverse.c tail.c > > Log: > > Remove register keyword usage with prejudice. > > Modern compilers are smarter when it comes to allocating register > > usage. > > They also ignore the register keyword, so this is a rather pointless change, > although it does add to repo bloat and in more active code could make diffs > harder to read. :-/ It doesn't actually ignore it. Try this: register int foo; printf("%p\n", &foo); This does get in the way at times, which is why people remove it. 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 cvs-all" in the body of the message