Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Kji4O-000293-6d for mharc-grub-devel@gnu.org; Sat, 27 Sep 2008 18:15:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kji4M-00028x-Pa for grub-devel@gnu.org; Sat, 27 Sep 2008 18:15:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kji4L-00028j-0J for grub-devel@gnu.org; Sat, 27 Sep 2008 18:15:18 -0400 Received: from [199.232.76.173] (port=60583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kji4K-00028g-QO for grub-devel@gnu.org; Sat, 27 Sep 2008 18:15:16 -0400 Received: from mailout01.t-online.de ([194.25.134.80]:56109) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kji4K-0005Ik-MJ for grub-devel@gnu.org; Sat, 27 Sep 2008 18:15:16 -0400 Received: from fwd10.aul.t-online.de by mailout01.t-online.de with smtp id 1Kji4I-0004IP-00; Sun, 28 Sep 2008 00:15:14 +0200 Received: from [10.3.2.2] (Gl9Zo6ZAZhdrqXYbuFe8VGa4zVogxTPVOzOorB+KO2HLlnr-U5nfFFrIXY7bLoSZMk@[217.235.228.3]) by fwd10.aul.t-online.de with esmtp id 1Kji4G-0aFQie0; Sun, 28 Sep 2008 00:15:12 +0200 Message-ID: <48DEB06D.9080004@t-online.de> Date: Sun, 28 Sep 2008 00:15:09 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GRUB 2 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ID: Gl9Zo6ZAZhdrqXYbuFe8VGa4zVogxTPVOzOorB+KO2HLlnr-U5nfFFrIXY7bLoSZMk X-TOI-MSGID: cf0eeaef-2864-47e7-b15d-8e6277aba973 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: Sat, 27 Sep 2008 22:15:19 -0000 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)); Christian