Bug#504052: grub-pc: grub_printf does not support maximum length modifier for string format

Josh Triplett josh at freedesktop.org
Thu Oct 30 20:28:15 UTC 2008


Package: grub-pc
Version: 1.96+20080601
Severity: normal

printf treats a precision specifier on a string format as a maximum
length.  For instance, %.4s will print at most 4 characters from the
string.  This makes it much easier to deal with fixed-width strings.
However, grub_printf does not support this syntax.

- Josh Triplett





More information about the Pkg-grub-devel mailing list