Re: Invalid gettext preprocessing causes broken format strings and sigsegv at runtine

2006-07-23 Thread Paul Eggert
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

Re: Invalid gettext preprocessing causes broken format strings and sigsegv at runtine

2006-07-20 Thread Eric Blake
-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

Invalid gettext preprocessing causes broken format strings and sigsegv at runtine

2006-07-19 Thread Zygmunt Krynicki
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,

Re: Invalid gettext preprocessing causes broken format strings and sigsegv at runtine

2006-07-19 Thread Eric Blake
-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.