Your message dated Tue, 24 Mar 2009 22:30:36 +0100
with message-id <[email protected]>
and subject line grub-pc: grub_printf does not support maximum length modifier
for string format
has caused the Debian Bug report #504052,
regarding grub-pc: grub_printf does not support maximum length modifier for
string format
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
504052: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504052
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Seems like this has been already fixed.
I've just tried it in grub-emu with a `grub_printf ("%.2s","123456")' in
commands/echo.c and it did work, i.e. only `12' was printed.
--
Felix Zielcke
--- End Message ---