dprintf patch, take 2.

grub_strword (string, word) : searches for word (a serie of
non-word-separators eventualy ended by word-separators) in string (a
succession of 0 or more words which can begin by word-separator(s))
grub_iswordseparator : matches any separator

Note : var="value1 value2" currently stores
"value1
in var, so I would advice using ',' for tests.

I hope this time nothing will be wrong with mime & '~'.

Vincent Pelletier

2005-02-25  Vincent Pelletier  <[EMAIL PROTECTED]>

        * include/grub/misc.h (grub_dprintf): New macro.
        (grub_real_dprintf): New prototype.
        (grub_strword): Likewise.
        (grub_iswordseparator): Likewise.
        * kern/misc.c (grub_real_dprintf): New function.
        (grub_strword): Likewise.
        (grub_iswordseparator): Likewise.


Attachment: dprintf_2.diff
Description: audio/mp3

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to