Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KjmxK-00035W-Va for mharc-grub-devel@gnu.org; Sat, 27 Sep 2008 23:28:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjmxJ-000356-Jw for grub-devel@gnu.org; Sat, 27 Sep 2008 23:28:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjmxI-000348-2d for grub-devel@gnu.org; Sat, 27 Sep 2008 23:28:21 -0400 Received: from [199.232.76.173] (port=49494 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjmxH-00033w-QU for grub-devel@gnu.org; Sat, 27 Sep 2008 23:28:19 -0400 Received: from ti-out-0910.google.com ([209.85.142.187]:46563) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjmxH-0006pJ-H1 for grub-devel@gnu.org; Sat, 27 Sep 2008 23:28:19 -0400 Received: by ti-out-0910.google.com with SMTP id u5so785856tia.10 for ; Sat, 27 Sep 2008 20:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=K9F7UVGQgQ/cU89DYU0Q8Iie/iTnki/IeyudPDn18/Q=; b=LxDhHWqryeZTyCxoK0P6DvmolrchRGumQIRM413U1SN+NKGMpKfAiw+zhlV2BHOYpA B1F3fQUT/nGwOYhalbfDK35IJ1B7MsOZjcKk2WRJ1TteOT1HiYrt82+w0mZSzuOvkRz8 fxtm0FVKuAmgkKFLA43pK+FShdwVkDjin46+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bXgbHgf0iz6SkOL8+0E44F3eRFVSXjGroUjk80c7slozKKlbW2I6nhkGEhfGwdrOFk 2vV6DVIlL0NL2pnDs+CdNaVbeQgA3ujya+U+4js+NLVHajcSYGZrhefW/kd59k8d9JMy PRNkrBRryNyzNbZfttpe98+ioA2B7PPR+29rI= Received: by 10.110.46.3 with SMTP id t3mr4450658tit.30.1222572496204; Sat, 27 Sep 2008 20:28:16 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sat, 27 Sep 2008 20:28:16 -0700 (PDT) Message-ID: Date: Sun, 28 Sep 2008 11:28:16 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <48DEB06D.9080004@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DEB06D.9080004@t-online.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [1870] 2008-09-22 Bean -- Missing function call? 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, 28 Sep 2008 03:28:21 -0000 On Sun, Sep 28, 2008 at 6:15 AM, Christian Franke wrote: > Bean wrote: >> >> Revision: 1870 >> http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1870 >> Author: bean >> Date: 2008-09-22 04:18:57 +0000 (Mon, 22 Sep 2008) >> >> Log Message: >> ----------- >> 2008-09-22 Bean >> >> * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a rare case where $BITMAP >> is >> resident and in attribute list. >> >> * include/grub/ntfs.h (BMP_LEN): Removed. >> >> [...} >> - if (read_data (at, cur_pos, bmp, 0, u32at (cur_pos, 0x28), 0, >> 0)) >> + bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) : >> + (cur_pos, 0x28)); >> + >> > > > Compiler warning "left-hand operand of comma expression has no effect" > suggests that a function/macro call is missing: > > bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) : > - (cur_pos, 0x28)); > + u32at (cur_pos, 0x28)); Hi, Oh right, thanks for the catch. I'm fixing it now. -- Bean