tech-userlevel archive

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

Re: CVS commit: src/share/misc



On Tue, 30 Mar 2021 at 20:10, Jason Thorpe <thorpej%me.com@localhost> wrote:

>
> > On Mar 30, 2021, at 8:03 PM, Christos Zoulas <christos%zoulas.com@localhost>
> wrote:
> >
> > There are 3 x 'sizeof(' in the tree compared to 'sizeof ' in '*.c' and
> > I am counting 'sizeof (' as 'sizeof ':
> >
> > 191337 'sizeof('
> > 63508 'sizeof '
> >
> > I think that it is better to bless the prevailing majority as the rule,
> > but we should let others express their opinions first.
>
> "sizeof(...)" is definitely my preference, in no small part for symmetry
> with "offsetof(...)" (or, at least, the historical definition thereof
> before the compiler had a built-in...)
>
> Definitely with thorpej on this one.


Home | Main Index | Thread Index | Old Index