This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] signal-safe fprintf?
On 8 March 2013 00:24, Andrew Hunter <ahh@google.com> wrote:
> I'm sorry, I don't follow you--snprintf creates a single use fake file
> that's only written to by the single call to vfprintf. How does that
> break?
I assumed that the same buffer will be used across the snprintf calls,
which is quite unlikely and deserves the punishment if someone does.
I clearly need some sleep now.
Siddhesh
--
http://siddhesh.in