On Apr 14, 2009, at 00:34, Tom Yu wrote: > Can we make things even simpler if we assume realloc(NULL, len) is > always equivalent to malloc(len)? How safe an assumption is that > these days? Yes, it should be quite safe. I've already made some minor simplifications in the code base that way. Ken