On Tue, Jan 2, 2018 at 6:13 PM, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: > On Sun, Dec 31, 2017 at 10:15:18PM -0600, kevans@xxxxxxxxxxx wrote: >> This doesn't make things work out of the box necessarily, but it gets us a step >> closer. >> >> - alloca(3) on FreeBSD and OpenBSD, at least, is provided as part of >> <stdlib.h>. I make the change here for FreeBSD only, though, as I cannot test it >> on OpenBSD. > > TBH, rather than dicking around with #ifdefs and headers, I'd rather > use use malloc() instead of alloca(). Alrighty- I'll prepare a patch for this, knowing that's a direction you're comfortable heading in. >> - stat -c %s's equivalent on FreeBSD is stat -f %Uz; these differ enough, allow >> STATSZ in the environment to specify local replacement for a stat that outputs >> size in bytes of an argument. > > Can you split this change out into a separate patch, please. Will do. -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html