Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Dec 2000 11:55:32 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/tail forward.c read.c reverse.c tail 
Message-ID:  <200012041955.eB4JtWJ11058@mobile.wemm.org>
In-Reply-To: <XFMail.001204105855.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012041955.eB4JtWJ11058>