Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MKOzE-0001B0-0E for mharc-grub-devel@gnu.org; Fri, 26 Jun 2009 23:53:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKOzC-0001Ai-8y for grub-devel@gnu.org; Fri, 26 Jun 2009 23:53:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKOz7-0001A3-N0 for grub-devel@gnu.org; Fri, 26 Jun 2009 23:53:53 -0400 Received: from [199.232.76.173] (port=45375 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKOz7-0001A0-Jp for grub-devel@gnu.org; Fri, 26 Jun 2009 23:53:49 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:58644) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKOz7-0001xE-4A for grub-devel@gnu.org; Fri, 26 Jun 2009 23:53:49 -0400 Received: by pxi6 with SMTP id 6so2362004pxi.14 for ; Fri, 26 Jun 2009 20:53:48 -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=kZS9LGZdE0EwME8btBygxK0u6vqJHGNCgteRk5FtaYA=; b=SieFjg5dtTnTH/ozDL1dm9Iw2ll63JnqywP2LmzcF0ZMLXrVS6tPsAdLed0yVZYJoi WLIyCfRWBnxIV5b5T4n+gLoXUjSHjRNZLExBo1zGYFazBhFDRmDhwhW55Esd6XzpZBMq BYjwYVcosYEctNfG9od/b6AmsO4OEJy9dOaMw= 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=ELCgvB6LHEkFcnArrCG662QhvGYIOJJHQP6gVh3I9cznLyNt5ZLCHRlBhrDb/68sYi oQAZuxXaxnnJ8BJKjN+VI6AGbwwEoxLn4yyHAXHBjuBc2fK8Qkaz2nrZnD8uFAyRfYwq CEDXPGLKpoOFwOITHxs+lfesMpN6Liph28LZE= MIME-Version: 1.0 Received: by 10.114.159.6 with SMTP id h6mr7115219wae.19.1246074828044; Fri, 26 Jun 2009 20:53:48 -0700 (PDT) In-Reply-To: <1246062150.20234.70.camel@mj> References: <1245697145.1926.11.camel@mj> <1245698882.24040.1.camel@mj> <1245701210.2754.12.camel@mj> <1245795036.3204.26.camel@mj> <1246062150.20234.70.camel@mj> Date: Sat, 27 Jun 2009 11:53:47 +0800 Message-ID: From: Bean 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: [PATCH] File access library for lua 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, 27 Jun 2009 03:53:54 -0000 On Sat, Jun 27, 2009 at 8:22 AM, Pavel Roskin wrote: > On Wed, 2009-06-24 at 12:41 +0800, Bean wrote: > >> Oh, fixed typos now. As for "Windows Vista bootmgr" =A0and "Windows >> NT/2000/XP loader", I just copy them from 10_windows.in, I guess there >> is a reason for it there. > > I don't think so. Fine with me. > Can we implement them in lua? =A0I think it would be better than to > implement them in C. Yes, actually it's just a bunch of file_exist AND or OR together, but I think if we use this kind of test often enough, implement it in c would be more efficient. --=20 Bean