src/winsup/cygwin ChangeLog.64bit c ...
Thu Apr 4 11:28:00 GMT 2013

CVSROOT:	/cvs/src
Module name:	src
Branch: 	cygwin-64bit-branch
Changes by:	2013-04-04 11:28:24

Modified files:
	winsup/cygwin  : ChangeLog.64bit cygheap.h 

Log message:
	* cygheap.h (struct _cmalloc_entry): Define b as unsigned rather than
	(NBUCKETS): Define here as constant value.
	(struct init_cygheap): Add bucket_val member.  Define size of bucket_val
	and buckets using NBUCKETS.
	* (NBUCKETS): Drop definition here.
	(cygheap_init): Initialize cygheap->bucket_val.  Add comment to explain
	what we do and why.
	(_cmalloc): Simplify bit bucket search using cygheap->bucket_val.  Drop
	local variable sz.  Fetch size of block from cygheap->bucket_val.
	(_cfree): Define b as unsigned.
	(_crealloc): Fetch size of block from cygheap->bucket_val.


More information about the Cygwin-cvs mailing list