Bug#504052: grub-pc: grub_printf does not support maximum length modifier for string format
Robert Millan
rmh at aybabtu.com
Fri Nov 7 20:07:39 UTC 2008
On Thu, Oct 30, 2008 at 01:28:15PM -0700, Josh Triplett wrote:
> 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.
Could you test the patch in:
http://lists.gnu.org/archive/html/grub-devel/2008-08/msg00514.html
and report if it works for you?
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
More information about the Pkg-grub-devel
mailing list