At Wed, 15 Jan 2014 16:54:42 +0900,
Hitoshi Mitake wrote:
At Wed, 15 Jan 2014 15:16:00 +0800,
Liu Yuan wrote:
This actuall fixes a bug that 045 fails with -ec specified. Instead of add a
memset() to init_erasure_buffer() to fix the bug, I prefer to make xvalloc()
a zeroed memory
This actuall fixes a bug that 045 fails with -ec specified. Instead of add a
memset() to init_erasure_buffer() to fix the bug, I prefer to make xvalloc()
a zeroed memory version, because:
- present CPU and glibc is very good at zero out a memory region.
- zeroed version will avoid future misuage
At Wed, 15 Jan 2014 15:16:00 +0800,
Liu Yuan wrote:
This actuall fixes a bug that 045 fails with -ec specified. Instead of add a
memset() to init_erasure_buffer() to fix the bug, I prefer to make xvalloc()
a zeroed memory version, because:
- present CPU and glibc is very good at zero out a