Re: [PATCH v2 1/3] Introduce die_errno() that appends strerror(errno) to die()
- From
Jeff King <peff@peff.net>
- Date
- Jun 6, 2009, 22:47 UTC
- Message-ID
- <20090606224711.GC30064@coredump.intra.peff.net>
- In-Reply-To
- <200906062256.34074.trast@student.ethz.ch>
On Sat, Jun 06, 2009 at 10:56:31PM +0200, Thomas Rast wrote:
> > Cannot vsnprintf potentially modify errno? > > Manpage turns up nothing, so AFAICT, no.
POSIX seems to imply that it can:
http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html
though it looks like the conditions are fairly unlikely.
-Peff