On Tue, 19.04.2011 at 12:15:00 +0100, Bruce Cran wrote:
> There's a new tool that can be used to find spelling mistakes in code: 
> codespell 
> from http://www.politreco.com has already been used to find mistakes in both 
> Linux and LLVM. I ran it on sys/ and it found lots of potential typos - the 
> full diff (which I know does contain some incorrect changes) can be found at 
> http://www.cran.org.uk/~brucec/freebsd/codespell_sys.diff .

Needs manual review, but I think this is very useful for the spelling
nazi challenged among us :-)

False positive, e.g.:
 {
-       struct ccb_immed_notify *inot;
+       struct ccb_immed_notify *into;
        mpt_tgt_state_t *tgt;

Cheers,
Uli
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to