Skip to contentSkip to conversation

a couple consistent misspellings that could be fixed

DISCUSSION Robert P. J. Day 2 participants 2 messages Jun 26, 2014

lore
Share & tools
lore
#0 lore raw

being the pedant that i am, i notice the following widespread
misspellings in the barebox codebase:

* "existance" (should be existence)

actually, not that widespread, only three, all comments so easy to
fix

* "persistant" (should be persistent)

this one is much uglier -- a couple dozen, including its use in
runnable code itself. just run:

  $ grep -r persistant *

to see what i mean.

what's the policy for fixing a spelling error that spills over from
the comments into compilable code itself?

rday

Signature · 12 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 9 lines · Robert P. J. Day

being the pedant that i am, i notice the following widespread
misspellings in the barebox codebase:

* "existance" (should be existence)

actually, not that widespread, only three, all comments so easy to
fix

Quoted 6 lines

* "persistant" (should be persistent)

this one is much uglier -- a couple dozen, including its use in
runnable code itself. just run:

  $ grep -r persistant *

Uh, quite a few.

Quoted 5 lines

to see what i mean.

what's the policy for fixing a spelling error that spills over from
the comments into compilable code itself?

You can fix them all in a single patch, no need to split it up. At least not as long there's not a function which uses 'persistent' and 'persistant' as two different variables ;)

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox