[PATCH 06/10] compat/nedmalloc: fix spelling in comments

2013-04-12 Thread Jonathan Nieder
From: Stefano Lattarini stefano.lattar...@gmail.com
Date: Fri, 12 Apr 2013 00:36:10 +0200

Correct some typos found using Lucas De Marchi's codespell tool.

Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com
Signed-off-by: Jonathan Nieder jrnie...@gmail.com
---
These don't seem to be fixed yet in https://github.com/ned14/nedmalloc
(pointed to from http://www.nedprod.com/programs/portable/nedmalloc/).
Would it make sense to write a note to Ned and then import a fixed
version from there?

 compat/nedmalloc/malloc.c.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compat/nedmalloc/malloc.c.h b/compat/nedmalloc/malloc.c.h
index ff7c2c4f..1401a672 100644
--- a/compat/nedmalloc/malloc.c.h
+++ b/compat/nedmalloc/malloc.c.h
@@ -4778,7 +4778,7 @@ void* dlmalloc(size_t bytes) {
 
 void dlfree(void* mem) {
   /*
- Consolidate freed chunks with preceeding or succeeding bordering
+ Consolidate freed chunks with preceding or succeeding bordering
  free chunks, if they exist, and then place in a bin.  Intermixed
  with special cases for top, dv, mmapped chunks, and usage errors.
   */
@@ -5680,10 +5680,10 @@ History:
Wolfram Gloger (glo...@lrz.uni-muenchen.de).
   * Use last_remainder in more cases.
   * Pack bins using idea from  co...@nyx10.cs.du.edu
-  * Use ordered bins instead of best-fit threshhold
+  * Use ordered bins instead of best-fit threshold
   * Eliminate block-local decls to simplify tracing and debugging.
   * Support another case of realloc via move into top
-  * Fix error occuring when initial sbrk_base not word-aligned.
+  * Fix error occurring when initial sbrk_base not word-aligned.
   * Rely on page size for units instead of SBRK_UNIT to
avoid surprises about sbrk alignment conventions.
   * Add mallinfo, mallopt. Thanks to Raymond Nijssen
-- 
1.8.2.1

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 06/10] compat/nedmalloc: fix spelling in comments

2013-04-12 Thread Sebastian Schuberth
On Fri, Apr 12, 2013 at 9:06 AM, Jonathan Nieder jrnie...@gmail.com wrote:

 These don't seem to be fixed yet in https://github.com/ned14/nedmalloc
 (pointed to from http://www.nedprod.com/programs/portable/nedmalloc/).
 Would it make sense to write a note to Ned and then import a fixed
 version from there?

Not necessarily. Last time I checked upstream nedmalloc has diverged
quite a lot from our version (which is why I only cherry-picked a
small change from upstream instead of taking all of it), so we should
make sure not to import any unwanted stuff when going the route of
importing upstream.

-- 
Sebastian Schuberth
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html