[PATCH] caseless uuid detection, fixed wrong behaviour for strncasecmp, added strcasecmp

2009-01-21 Thread Daniel Mierswa
Hi list, during testing I found that the UUID is checked case-dependend in search.c, which is probably not wanted (I hope). Also the grub_strncasecmp function returned (int) *s1 - (int) *s2 which is wrong if you compare it to the C library strncasecmp. I fixed that and used the same algorithm which

present stage of grub2

2009-01-21 Thread J.Bakshi
Dear all, What is the present stage of grub2 ? can it be used now to get all the fancy screen etc ? I have seen the ubuntu is using the grub2 excellently ? IS it possible to get the same in debian lenny with out any patch ? kindly enlighten me and please suggest me where can I get in depth docu

Re: present stage of grub2

2009-01-21 Thread Pavel Roskin
On Wed, 2009-01-21 at 20:54 +0530, J.Bakshi wrote: > Dear all, > > What is the present stage of grub2 ? can it be used now to get all the fancy > screen etc ? I have seen the ubuntu is using the grub2 excellently ? IS it > possible to get the same in debian lenny with out any patch ? kindly > e

Re: [PATCH] caseless uuid detection, fixed wrong behaviour for strncasecmp, added strcasecmp

2009-01-21 Thread Pavel Roskin
On Wed, 2009-01-21 at 13:08 +0100, Daniel Mierswa wrote: > Hi list, > during testing I found that the UUID is checked case-dependend in > search.c, which is probably not wanted (I hope). > Also the grub_strncasecmp function returned (int) *s1 - (int) *s2 which > is wrong if you compare it to the C

[PATCH] Add 'precision' to grub_printf %s format

2009-01-21 Thread Christian Franke
This patch adds 'precision' support to grub_printf '%s' format, e.g.: grub_printf("data=%.20s...\n", data); This feature of standard printf() is useful to limit output length or to print strings which are not 0-terminated. Christian 2009-01-21 Christian Franke * kern/misc.c (g

gettext patch (beta)

2009-01-21 Thread Carles Pina i Estany
Hello, I have been working with the gettext patch (and Robert gave me a hand, thanks) Take this version as a RFC and call for help (see at the bottom, it includes beer invitation in Fosdem). ChangeLog: --- -MM-DD Carles Pina i Estany * Makefile.in: Add uptrans tar

Re: gettext patch (beta)

2009-01-21 Thread Vesa Jääskeläinen
Carles Pina i Estany wrote: > -I have seen that Grub2 is not printing correctly the accents, > could be a problem in gettext or in some other layer Please provide example what is wrong and how it should look like. ___ Grub-devel mailing list Grub-devel

Re: gettext patch (beta)

2009-01-21 Thread Carles Pina i Estany
Hello, On Jan/21/2009, Vesa Jääskeläinen wrote: > Carles Pina i Estany wrote: > > -I have seen that Grub2 is not printing correctly the accents, > > could be a problem in gettext or in some other layer > > Please provide example what is wrong and how it should look like. po/ca.po contains: "

Re: gettext patch (beta)

2009-01-21 Thread Vesa Jääskeläinen
Carles Pina i Estany wrote: > Hello, > > On Jan/21/2009, Vesa Jääskeläinen wrote: >> Carles Pina i Estany wrote: >>> -I have seen that Grub2 is not printing correctly the accents, >>> could be a problem in gettext or in some other layer >> Please provide example what is wrong and how it should loo

Re: gettext patch (beta)

2009-01-21 Thread Carles Pina i Estany
Hi, On Jan/22/2009, Vesa Jääskeläinen wrote: > Carles Pina i Estany wrote: > > Hello, > > > > On Jan/21/2009, Vesa Jääskeläinen wrote: > >> Carles Pina i Estany wrote: > >>> -I have seen that Grub2 is not printing correctly the accents, > >>> could be a problem in gettext or in some other layer