Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MNOVP-0004gc-3l for mharc-grub-devel@gnu.org; Sun, 05 Jul 2009 05:59:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNOVF-0004fQ-J1 for grub-devel@gnu.org; Sun, 05 Jul 2009 05:59:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNOV7-0004dw-6f for grub-devel@gnu.org; Sun, 05 Jul 2009 05:59:18 -0400 Received: from [199.232.76.173] (port=57506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNOV3-0004df-Vq for grub-devel@gnu.org; Sun, 05 Jul 2009 05:59:10 -0400 Received: from mail-px0-f200.google.com ([209.85.216.200]:53243) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNOV3-0000VD-GD for grub-devel@gnu.org; Sun, 05 Jul 2009 05:59:09 -0400 Received: by pxi38 with SMTP id 38so2096009pxi.14 for ; Sun, 05 Jul 2009 02:59:08 -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=an/xxh9epNc0lu+3xPKXu2xh5Qc3RRFrHaNUrZk2ZqI=; b=ss5rcFd4voHXeUAP1+JrnWDCNZ7G78SOeZX8HV/g53EAZ7bk9nDFCGel+wgtqg1aJK OHswVeHlCD/0jNmuuygpftPbjJs2T8tzp6aRQflNfSU2Cf8hcSeiKFqjn39SmaFFexnw rVYEwIkGsmgJp/OzQpVTJHOkAUG1/JX+W5v9I= 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=rI5ibnkmcYlXs7R8kK1Ztg22dACfX4MwHjH9eT/ZY0GiD13C4sf+9eVpcCCzO3ah+5 7BUBhfhSfD3Jm+pzh7Hujfb1QTnoeybO3v/JJw+69VQxKwP8i8jiAJGUBRMdh4oduYuz SMJjoRn4adCymLw8SjoEPeGPmCBpgY8VehH0A= MIME-Version: 1.0 Received: by 10.114.211.17 with SMTP id j17mr5273291wag.225.1246787948531; Sun, 05 Jul 2009 02:59:08 -0700 (PDT) In-Reply-To: References: <1245701210.2754.12.camel@mj> <1245795036.3204.26.camel@mj> <1246062150.20234.70.camel@mj> <1246075477.4569.5.camel@mj> Date: Sun, 5 Jul 2009 17:59:08 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Sun, 05 Jul 2009 09:59:21 -0000 Committed. On Sat, Jun 27, 2009 at 12:14 PM, Bean wrote: > On Sat, Jun 27, 2009 at 12:04 PM, Pavel Roskin wrote: >> On Sat, 2009-06-27 at 11:53 +0800, Bean wrote: >> >>> 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. >> >> So far, we only have one file. >> >> I checked the Lua reference manual, and no file related functions take >> lists of filenames: >> >> http://www.lua.org/manual/5.1/ >> >> If it was ineffective, I think Lua developers would have designed the >> file access differently. > > All right then, I'd change it back to single parameter. Actually it's > not a big deal, but I just hate long lines, :) > > -- > Bean > -- Bean