tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rfc: C99 style of the uintN_t types



On Tue, Aug 12, 2008 at 01:09:53PM -0700, Bill Stouder-Studenmund wrote:
> On Tue, Aug 12, 2008 at 09:38:26PM +0300, Andy Shevchenko wrote:
> > On Tue, Aug 12, 2008 at 9:32 PM, Jason Thorpe 
> > <thorpej%shagadelic.org@localhost> wrote:
> > >> Therefore, question is why so many style breakages in the core kernel
> > >> code?
> > > A lot of that core kernel code predates the C99 types.
> > Ok, why _still_ the 40% in sys/arch has the obsoleted style? I can
> > understand 3rd party code which can't be so big.
> 
> Others have described why, but the key issue is that we consider changing 
> code to have a cost. The cost is small, and never enough to block features 
> or bug fixes. It mainly is a maintenance cost. Every branch has to either 
...[snip]...

I've seen this question come up several times.  Can you perhaps take your
explanation and drop it at the stop of share/misc/style so people know when
the style should be applied?

eric

Attachment: pgpR5fVwksQ_R.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index