On 2020-08-03 17:11:50 +0200, Wolf wrote: > From reading openbsd's source I would say this should return 0 (or > newptr), not ptr. Otherwise I'm not sure how the caller could tell if > the resize failed or not. Or not, please ignore. I've got confused. W. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.