From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S3uwm-00068k-Uh for mharc-grub-devel@gnu.org; Sat, 03 Mar 2012 14:48:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3uwl-00068b-3K for grub-devel@gnu.org; Sat, 03 Mar 2012 14:48:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3uwj-0000B5-Fv for grub-devel@gnu.org; Sat, 03 Mar 2012 14:48:50 -0500 Received: from wp191.webpack.hosteurope.de ([80.237.132.198]:35532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3uwi-00009Q-Mb for grub-devel@gnu.org; Sat, 03 Mar 2012 14:48:49 -0500 Received: from p54ba694b.dip.t-dialin.net ([84.186.105.75] helo=neptun.omega.ssw.de); authenticated by wp191.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1S3uwg-0001p8-RE; Sat, 03 Mar 2012 20:48:46 +0100 Received: from localhost (localhost [127.0.0.1]) by neptun.omega.ssw.de (Postfix) with ESMTP id 0B567E180A8 for ; Sat, 3 Mar 2012 20:48:46 +0100 (CET) X-Virus-Scanned: amavisd-new at omega.ssw.de Received: from neptun.omega.ssw.de ([127.0.0.1]) by localhost (neptun.omega.ssw.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4vQelkm-HJm1 for ; Sat, 3 Mar 2012 20:48:35 +0100 (CET) Received: from [192.168.2.43] (p640.fritz.box [192.168.2.43]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by neptun.omega.ssw.de (Postfix) with ESMTP id 1545DE180A7 for ; Sat, 3 Mar 2012 20:48:35 +0100 (CET) Message-ID: <4F527591.8030406@anvo-it.de> Date: Sat, 03 Mar 2012 20:48:33 +0100 From: Andreas Vogel User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Device instability, gettext and default References: <4F521E88.7070401@gmail.com> In-Reply-To: <4F521E88.7070401@gmail.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de; andreas.vogel@anvo-it.de; 1330804128; 5f76cef1; X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.237.132.198 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 19:48:52 -0000 I was thinking about your proposal again and I think your idea introducing a --id option is better than my idea having a --label option. > === modified file 'include/grub/menu.h' > --- include/grub/menu.h 2011-01-10 22:27:58 +0000 > +++ include/grub/menu.h 2012-03-03 12:11:30 +0000 > @@ -32,6 +32,9 @@ > /* The title name. */ > const char *title; > > + /* The identifier. */ > + const char *id; > + > /* If set means not everybody is allowed to boot this entry. */ > int restricted; > Why are all the string variables declared as "const char *"? In my opinion the const qualifier is not useful/needed.