Changeset 271283b in mainline for uspace/lib/libc/generic/malloc.c


Ignore:
Timestamp:
2009-07-02T14:54:50Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0143f72
Parents:
d851f597
Message:

Fix typos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/malloc.c

    rd851f597 r271283b  
    281281                               
    282282                                if (cur->size >= real_size + excess) {
    283                                         /* The current block is large enought to fit
     283                                        /* The current block is large enough to fit
    284284                                           data in including alignment */
    285285                                        if ((void *) cur > heap_start) {
     
    299299                                               
    300300                                                if ((!prev_head->free) && (excess >= STRUCT_OVERHEAD)) {
    301                                                         /* The previous block is not free and there is enought
     301                                                        /* The previous block is not free and there is enough
    302302                                                           space to fill in a new free block between the previous
    303303                                                           and current block */
     
    317317                                                /* The current block is the first block on the heap.
    318318                                                   We have to make sure that the alignment excess
    319                                                    is large enought to fit a new free block just
     319                                                   is large enough to fit a new free block just
    320320                                                   before the current block */
    321321                                                while (excess < STRUCT_OVERHEAD) {
Note: See TracChangeset for help on using the changeset viewer.