Skip to content

Commit 4283b8e

Browse files
slattarinigitster
authored andcommitted
compat/nedmalloc: fix spelling in comments
Correct some typos found using Lucas De Marchi's codespell tool. Signed-off-by: Stefano Lattarini <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]> Acked-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ce9171c commit 4283b8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compat/nedmalloc/malloc.c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4778,7 +4778,7 @@ void* dlmalloc(size_t bytes) {
47784778

47794779
void dlfree(void* mem) {
47804780
/*
4781-
Consolidate freed chunks with preceeding or succeeding bordering
4781+
Consolidate freed chunks with preceding or succeeding bordering
47824782
free chunks, if they exist, and then place in a bin. Intermixed
47834783
with special cases for top, dv, mmapped chunks, and usage errors.
47844784
*/
@@ -5680,10 +5680,10 @@ int mspace_mallopt(int param_number, int value) {
56805680
Wolfram Gloger ([email protected]).
56815681
* Use last_remainder in more cases.
56825682
* Pack bins using idea from [email protected]
5683-
* Use ordered bins instead of best-fit threshhold
5683+
* Use ordered bins instead of best-fit threshold
56845684
* Eliminate block-local decls to simplify tracing and debugging.
56855685
* Support another case of realloc via move into top
5686-
* Fix error occuring when initial sbrk_base not word-aligned.
5686+
* Fix error occurring when initial sbrk_base not word-aligned.
56875687
* Rely on page size for units instead of SBRK_UNIT to
56885688
avoid surprises about sbrk alignment conventions.
56895689
* Add mallinfo, mallopt. Thanks to Raymond Nijssen

0 commit comments

Comments
 (0)