grub2/grub-core/kern/ia64
Miguel Ángel Arruga Vivas 837fe48deb i18n: Format large integers before the translation message
The GNU gettext only supports the ISO C99 macros for integral
types. If there is a need to use unsupported formatting macros,
e.g. PRIuGRUB_UINT64_T, according to [1] the number to a string
conversion should be separated from the code printing message
requiring the internationalization. So, the function grub_snprintf()
is used to print the numeric values to an intermediate buffer and
the internationalized message contains a string format directive.

[1] https://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html#No-string-concatenation

Signed-off-by: Miguel Ángel Arruga Vivas <rosen644835@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-04-13 17:16:04 +02:00
..
efi efi: Fix use-after-free in halt/reboot path 2020-07-29 16:55:48 +02:00
cache.c * grub-core/kern/ia64/efi/init.c (grub_arch_sync_caches): Move to ... 2013-12-08 18:27:40 +01:00
dl_helper.c Fix mingw compilation. 2017-02-03 13:01:34 +01:00
dl.c i18n: Format large integers before the translation message 2021-04-13 17:16:04 +02:00