Benjamin,
I'll recheck this tonight, but the reason I never submitted
a patch for this was one of these (I think the resize one) was
failing at -m64 on Darwin PPC. However I didn't look at it in
depth to see if the failure was the same original malloc issue
or some other latent bug exposed at -m64.
Jack