From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xuak7-000443-9M for mharc-grub-devel@gnu.org; Sat, 29 Nov 2014 00:38:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xuajw-00040t-7M for grub-devel@gnu.org; Sat, 29 Nov 2014 00:38:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xuajn-0006tO-5X for grub-devel@gnu.org; Sat, 29 Nov 2014 00:38:40 -0500 Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:41589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xuajm-0006tF-TG for grub-devel@gnu.org; Sat, 29 Nov 2014 00:38:31 -0500 Received: by mail-lb0-f176.google.com with SMTP id p9so6243774lbv.7 for ; Fri, 28 Nov 2014 21:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=X2tTX0KzZ0XDPALPZ5Xp4Xf3Y2hkuBesERDEeITXfk0=; b=WHYl6iKrJlf4RfcOsJLtlwaUHFjG+rbjY10FBb4/KswK8OlMKcgxRtyMbndfPjsSkd pyU69BQuTsnpiMsAJOVb7V1gRO3rP1G6fOegk3qm4Sx6tu6HOPKx82/yf07enXD7fVhr GyZReaSRWptPmIubK2TctJoyLRA/F+CW4BntGR4/1+P2M2Q7EfQR6ZH7qyIa5iBhNfgx L8XlAf7GaaKFqnLZwPdclF1ya+dv0N2XYBPlmLloYVxalqYTVlwPvadyZPqqJqQqIV5l 5Aj3E3VkoaoAMbT1fLoxTh4ZJ/W9CtBX4S6hQ+nMIew+gPrSTISPYu8ujL7vrZDnmCXn ThVQ== X-Received: by 10.152.21.97 with SMTP id u1mr46592679lae.84.1417239509921; Fri, 28 Nov 2014 21:38:29 -0800 (PST) Received: from opensuse.site (ppp91-76-15-25.pppoe.mtu-net.ru. [91.76.15.25]) by mx.google.com with ESMTPSA id r8sm3008531laj.38.2014.11.28.21.38.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Nov 2014 21:38:29 -0800 (PST) Date: Sat, 29 Nov 2014 08:38:27 +0300 From: Andrei Borzenkov To: Vladimir =?UTF-8?B?J8+GLWNvZGVyL3BoY29kZXIn?= Serbinenko Subject: Re: About the CLI of both grub-mkrescue versions Message-ID: <20141129083827.2832cebc@opensuse.site> In-Reply-To: <5478CFCF.9010601@gmail.com> References: <26976546057851911994@scdbackup.webframe.org> <1495546211684188288@scdbackup.webframe.org> <5478CFCF.9010601@gmail.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.25; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/uu+.S9jX+H.GmhQVieDjP.g"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::230 Cc: The development of GNU GRUB , Thomas Schmitt 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, 29 Nov 2014 05:38:49 -0000 --Sig_/uu+.S9jX+H.GmhQVieDjP.g Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Fri, 28 Nov 2014 21:41:03 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 01.10.2014 10:25, Thomas Schmitt wrote: > > Hi, > >=20 > > to substantiate my proposal of renaming young grub-mkrescue.c to > > grub-mkiso.c and to add a built-in emulation of grub-mkrescue(.in), > > here the necessary code which i tested standalone with valgrind. > >=20 > > The decision which parser to use would be made in main(): > >=20 > I think that old parser is better. The only reason the change happened > is that it's a bug that sneaked in during migration to C. It should be > fixed. It is near to impossible to emulate old behavior using argp, at least without some intrusive patch. Nor do I actually like "pass anything you do not understand" - it has potential to break if grub-mkrescue gets new options.=20 Anyway - if it is OK to carry local patch to argp I try to revisit it. --Sig_/uu+.S9jX+H.GmhQVieDjP.g Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlR5W9MACgkQR6LMutpd94xNzgCfTQAWju++XFjYugN53sY66asI QVkAnRDe+Eoz450i6wIA7gWgW9kNH3vD =XWau -----END PGP SIGNATURE----- --Sig_/uu+.S9jX+H.GmhQVieDjP.g--