Deepak Vankadaru wrote:
Hi,

There was a redundant piece of code in the diff file I sent earlier. I have removed it and prepared another patch file. I am attaching the same. Please use this one instead.

Following is the changelog.

Changelog:
2008-08-17 Deepak Vankadaru <deepak.vankad...@gmail.com <mailto:deepak.vankad...@gmail.com>>

       Support for precision formatting in grub_printf

* kern/misc.c: modified grub_vsprintf to parse and handle precision formatting


Thanks.

Unfortunately, the patch can no longer be applied to current svn without a conflict. The precision parsing and '%s' precision (truncation) handling is already implemented.

But the '%d' precision (zero fill) handling part of your patch is still missing in the code.

Could you please repost an updated patch in diff -u format?
Note that the current code does not use a format2_default flag buts sets format2 to ~0U ('infinite' :-) if no precision is specified.

Thanks

--
Christian Franke



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to