Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MXFiX-0006iw-0u for mharc-grub-devel@gnu.org; Sat, 01 Aug 2009 10:37:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXFiV-0006hP-9z for grub-devel@gnu.org; Sat, 01 Aug 2009 10:37:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXFiP-0006aQ-RM for grub-devel@gnu.org; Sat, 01 Aug 2009 10:37:45 -0400 Received: from [199.232.76.173] (port=35897 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXFiP-0006aN-MI for grub-devel@gnu.org; Sat, 01 Aug 2009 10:37:41 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:48967) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXFiP-0003fH-Az for grub-devel@gnu.org; Sat, 01 Aug 2009 10:37:41 -0400 Received: by fxm26 with SMTP id 26so721733fxm.42 for ; Sat, 01 Aug 2009 07:37:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0EmNG+BuWhDqJEe757WHugS3ynFlxPCaZo11UNsqiTs=; b=m4OxOZo7bQ1+q7Tj8A8aKZsR/NXfcmQkNVuCOA1NCj+Ck7C4uvDPUgh+FfBdkFhfhc 1KTjftKM1W8mhpDHadGSl/os6AYpxgj8oBEAgf4EOU4ZbbbJ0M/mDQJzqFVK+tQ+yY4z yXtUe+noVIjV3PAhn/QNGRgVu3IrMhHCjCzus= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=TayWQkYiTpUbg5bsvVjqikQygnz9Crz4ewigdg+L8SBgeIP04WtyhY4xr95L5+g59I Mn1MPt89ulpA5uDCmB41afdzjiG9A08yFhnqXOFl4FYtATa0IeozBwwdWAuxzjheaXAq 0jHNOZtZrJkLPPnFTcpXs2wn18MzbnWgko61U= MIME-Version: 1.0 Received: by 10.204.57.19 with SMTP id a19mr3901968bkh.194.1249137460472; Sat, 01 Aug 2009 07:37:40 -0700 (PDT) In-Reply-To: <20090801143415.GD22989@thorin> References: <20090801143415.GD22989@thorin> Date: Sat, 1 Aug 2009 16:37:40 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [RFC] Don't pass filename in multiboot command line X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2009 14:37:47 -0000 > I agree with this. =A0But please wait a few days to give everyone a chanc= e > to read it. > > Regarding the patch: > > There's a much simpler way to address this. =A0Just add something like: > > =A0cmdline_argv =3D argv + 1; > =A0cmdline_argc =3D argc - 1; > > at the beginning, and then use cmdline_argv and cmdline_argc instead of > correcting the off-by-one every time. Correcting the numbers is actually smaller part of the patch. The most of it is to make empty commandlines to be handled correctly (this couldn't happen previously) > > -- > Robert Millan > > =A0The DRM opt-in fallacy: "Your data belongs to us. We will decide when = (and > =A0how) you may access your data; but nobody's threatening your freedom: = we > =A0still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git