[Top][All Lists]

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

Re: printf (_("...%zu..."), X) where X is of type size_t

From: Paul Eggert
Subject: Re: printf (_("...%zu..."), X) where X is of type size_t
Date: Fri, 30 Sep 2005 21:40:53 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden (Eric Blake) writes:

> When I wrote my suggestion, I was thinking more along the
> lines of a thin wrapper, whose sole job in life is to translate the
> format string into something that the system's vprintf can already
> handle, without ever unwrapping the va_args itself.

You might run out of memory generating the translated format string.
That wouldn't be a nice thing to do (particularly if the message
you're trying to print is "can't allocate 230 bytes" :-).

reply via email to

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