Zygmunt Krynicki [EMAIL PROTECTED] writes:
Preprocessing of macro PRIuMAX is not forwarded to gettext and produces
broken format strings.
gettext is supposed to handle that; it has special-case code for
PRIuMAX and friends. If this isn't working for you it'd be nice to
figure out why. For
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Please keep replies on the list, so that others may see the resolution of
this thread.
According to Zygmunt Krynicki on 7/20/2006 2:05 AM:
Dnia 19-07-2006, śro o godzinie 07:07 -0600, Eric Blake napisał(a):
According to Zygmunt Krynicki on
Preprocessing of macro PRIuMAX is not forwarded to gettext and produces
broken format strings.
Example code: printf (gettext(Foo: PRIuMAX %s\n),
(uintmax_t)12345, );
Example ltrace of dd session with LANG=C and LANG=pl_PL.UTF-8 are pasted
below:
(C):
__libc_start_main(0x804afcc, 5,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Zygmunt Krynicki on 7/19/2006 6:43 AM:
Preprocessing of macro PRIuMAX is not forwarded to gettext and produces
broken format strings.
Example code: printf (gettext(Foo: PRIuMAX %s\n),
(uintmax_t)12345, );
Thanks for the report.