On Thu, Dec 3, 2009 at 12:07 PM, <[email protected]> wrote: > This is likely an issue for any machine whose libc does not support the > "j" length.
We use the formatting functionality provided by glib, which promises to support 'j'. It does this by testing the implementation in the C library, and replacing it with a bundled implementation if the C library falls short. However, especially older versions of glib seem to have trouble with these tests, and incorrectly use the C library's functions. The trouble with %ll is, of course, that "long long" does not mean anything in particular across multiple platforms. What version of glib are you using? Can you verify whether it's using the bundled formatting library (basically, whether HAVE_GOOD_PRINTF is defined - see gprintfint.h) Dustin -- Open Source Storage Engineer http://www.zmanda.com
