<<< Date Index >>>     <<< Thread Index >>>

Re: Abnormal size display



Oswald Buddenhagen typed (on Mon, May 19, 2008 at 08:08:57AM +0200):
| On Sun, May 18, 2008 at 07:47:11PM -0400, Jean-Pierre Radley wrote:
| > Paul Walker typed (on Mon, May 19, 2008 at 12:32:37AM +0100):
| > | mutt_pretty_size in muttlib.c seems to be the main place where sizes are
| > | formatted, but it's not clear how it would end up printing d. Knowing what
| > | parameters are going into it would help - either adding dprint statements,
| > | or via a debugger.
| > 
| > Looking at that function, I too see nothing that would print 'd'.
| > 
| it seems likely that it happens only for bigger numbers, because of the
| format string being %lld and not being supported by the libc. if this is
| really the case, see
| http://puf.cvs.sourceforge.net/puf/puf/configure.in?revision=1.16&view=markup
| line 1

Indeed, using %lld was the problem.  I forced it back to %ld.

-- 
JP