plan9fox/sys
cinap_lenrek ca4e12839a pool: avoid triggering assert(b->magic != FREE_MAGIC) in blocksetsize() for mallocalignl()
when we trim the front of a block with freefromfront(),
the block magic of the back was not initialized which
could sometimes trigger the assert in blocksetsize()
to fail. fix is to just move the initialization of the
magic field before the blocksetsize() call.

the second b->magic = UNALLOC_MAGIC isnt really required
but just done for consistency with the trim() code above.
2015-04-08 21:04:10 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: TED, day 1: I want to believe -- WIRED magazine 2015-03-26 20:43:41 -04:00
include libmach: use #pragma pack to force 4 byte alignment of bootexec.h structures for amd64 2015-03-18 19:31:51 +01:00
lib hg: install hgweb templates 2015-03-13 18:30:59 +01:00
man nintendo(1): add SOURCE entry for games/gba 2015-03-30 15:55:50 +02:00
src pool: avoid triggering assert(b->magic != FREE_MAGIC) in blocksetsize() for mallocalignl() 2015-04-08 21:04:10 +02:00