bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vasnprintf and invalid format string


From: Bruno Haible
Subject: Re: vasnprintf and invalid format string
Date: Wed, 25 Nov 2009 16:35:27 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> So, it may be worth a mention in the docs that *printf behaves differently
> on various platforms when given an invalid string (in the case of my
> example string, both Solaris and glibc return success! rather than failing
> with EINVAL, but with differing amounts and content of output), but that
> gnulib doesn't bother with this because it is assumed a well-written
> program never passes an invalid format string in the first place.

Yes. Fine with me.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]