> Date: Sun, 12 Feb 2012 18:11:49 +0100 > From: Sebastian Pipping <[email protected]> > CC: [email protected], [email protected] > > Since we would run into buffer overflows with sprintf/vsprintf, we > rely on snprintf/vsnprintf for that task. Quoting from my "man 3 > printf" output: > > snprintf(), vsnprintf(): > _BSD_SOURCE || _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE \ > || _POSIX_C_SOURCE >= 200112L; > or cc -std=c99 > > That's my understanding of the situation.
If all you need is vsnprintf, I think you can rely on it being present, and if it isn't, disable argument reordering on that platform. Or we could import one from libiberty or from gnulib, I guess. Paul? _______________________________________________ Bug-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-make
