Eric Sunshine made the following changes to csBitSet:
Eric Sunshine made the following changes to csBitSet:

-*- Constructor no longer attempts to allocate zero bytes from heap.

-*- Bits are now 'false' by default in new bitsets as a convenience.
    Same applies to bits added when a bitset is grown with Resize().

-*- Resize() no longer tries to allocate zero bytes.

-*- Resize() no longer calls realloc() with a null pointer since doing so
    crashes on some systems though it works on others.

-*- Resize() now frees byte array if resized down to zero.


git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@4235 8cc4aa7f-3514-0410-904f-f2cc9021211c

crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS