grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCHv2] dprintf implementation


From: Vincent Pelletier
Subject: [PATCHv2] dprintf implementation
Date: Fri, 25 Feb 2005 12:52:44 +0100
User-agent: Debian Thunderbird 1.0 (X11/20050116)

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  <address@hidden>

        * 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]