On Sat, Jul 23, 2016 at 2:30 PM, Hisashi T Fujinaka <htodd@xxxxxxxxxxxx> wrote: [...] >> Could you try commenting out the HAVE_REALLOCARRAY line in config.h >> make clean, make and rerun the test? > > That works. Weird how I need that on -current but not on -7. Looks like reallocarray was added after 7: it's in http://netbsd.gw.com/cgi-bin/man-cgi?reallocarray++NetBSD-current but it's not in http://netbsd.gw.com/cgi-bin/man-cgi?reallocarray++NetBSD-7.0.1. Maybe there's a bug in it? I note that the man page says the prototype needs "_OPENBSD_SOURCE", maybe the lack of prototype gets the return truncated to int? maybe try ./configure --with-cflags=-D_OPENBSD_SOURCE ? -- Darren Tucker (dtucker at zip.com.au) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev