Re: [PATCH] 2.5.63-current replace its with it's where appropriate.

From: Steven Cole (elenstev@mesatop.com)
Date: Wed Feb 26 2003 - 10:22:21 EST


On Wed, 2003-02-26 at 04:57, Denis Vlasenko wrote:
> On 26 February 2003 04:44, Steven Cole wrote:
> > This patch replaces its (possessive of it) with it's (it is)
> > in the following cases where "it is" is meant.
> >
> > its a -> it's a
> > its an -> it's an
> > its not -> it's not
>
> I'd say it's ok to fix misspellings but this apostrophe
> chasing is a bit too much. What comes next? Patches to fix
> violations of "two spaces after the dot" rule?

Nope, no spaces after dots changes. But, how about
removing unnecessary parenthesis around the expression in the
return statement, e.g.
  
return(-EBUGGYEDITOR); -> return -EBUGGYEDITOR;
 
Just kidding! I'll leave that for someone more bold or pedantic.

>
> Single quotes in comments do confuse gcc _and_ some
> text editors with syntax highlighting.
> --
> vda

I've been careful about the single quotes where it affects gcc.
Which brings to mind "affect" (usually a verb, with exceptions) versus
"effect" (usually a noun, with exceptions). ;)

Steven

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:36 EST