Re: [PATCH] Add const qualifier for charset_name in init_dfa

2012-03-30 Thread Paul Eggert
On 03/30/2012 03:15 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Any problem with this patch? No other comment, and I didn't see any problem. Thanks for the bug report. I pushed this: >From ed033e34810947e4f23763171f790fae66a5f063 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 30

Re: [PATCH] Add const qualifier for charset_name in init_dfa

2012-03-30 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.03.2012 03:24, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > In GRUB charset is hardwired to UTF-8 and we return just a pointer to > "UTF-8" in nl_langinfo (CODESET); > I propose adding const qualifier since this function already handles > codeset_name as a pointer to const string. Any probl

[PATCH] Add const qualifier for charset_name in init_dfa

2012-03-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
In GRUB charset is hardwired to UTF-8 and we return just a pointer to "UTF-8" in nl_langinfo (CODESET); I propose adding const qualifier since this function already handles codeset_name as a pointer to const string. === modified file 'grub-core/gnulib/regcomp.c' --- grub-core/gnulib/regcomp.c2