This patch makes result of target_read_alloc zero-terminated. The point is that often the object is not allowed to contain embedded zeros, and working with zero-terminated strings is much easier. OK? - Volodya 2006-07-18 Vladimir Prus * target.c (target_read_alloc): Zero-terminate result.