From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HeHXy-0006pi-Ak for mharc-grub-devel@gnu.org; Wed, 18 Apr 2007 17:18:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HeHXw-0006p5-1j for grub-devel@gnu.org; Wed, 18 Apr 2007 17:18:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HeHXu-0006ok-Ba for grub-devel@gnu.org; Wed, 18 Apr 2007 17:18:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeHXu-0006oh-4r for grub-devel@gnu.org; Wed, 18 Apr 2007 17:18:34 -0400 Received: from mx09.ms.so-net.ne.jp ([202.238.82.9]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HeHT0-00048a-SG for grub-devel@gnu.org; Wed, 18 Apr 2007 17:13:31 -0400 Received: from temjin (pddf8db.gifunt01.ap.so-net.ne.jp [218.221.248.219]) by mx09.ms.so-net.ne.jp with ESMTP id l3ILDI2U016350 for ; Thu, 19 Apr 2007 06:13:24 +0900 (JST) From: "Hitoshi Ozeki" To: "'The development of GRUB 2'" Date: Thu, 19 Apr 2007 06:13:36 +0900 Message-ID: <001501c781fe$6f83bf90$030010ac@ozeki> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6822 In-Reply-To: <000001c7811e$9f928490$030010ac@ozeki> Importance: Normal Thread-Index: AceAIaL7MEiWUYpAQv+bjSOx/aZPaQAS94+AAGOfsDA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-detected-kernel: Solaris 9.1 Subject: RE: GRUB 1.95 cannot read the ufs filesystem 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: Wed, 18 Apr 2007 21:18:36 -0000 Hello,all. I wrote in the last: At second, However we have the filepath in 'const char*=20 path', The original code copies the filepath. It wastes=20 the processor time. If you think the use of pointers makes complex, I recommend to use array and index. It doesn't only waste the processor time. The original code uses a large amount of auto-variable. It wastes the = stack space. When we exhaust the stack space, we should expect the worst result. GRUB is a bootloader, It does not support the virtual memory. So we must stingy about the auto-variables. --=20 Regards, Hitoshi Ozeki