From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UbTtD-0008CT-3H for mharc-grub-devel@gnu.org; Sun, 12 May 2013 06:52:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbTt7-0008Bw-QR for grub-devel@gnu.org; Sun, 12 May 2013 06:52:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbTt5-0003Lr-6X for grub-devel@gnu.org; Sun, 12 May 2013 06:52:21 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:50226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbTt4-0003Ln-VP for grub-devel@gnu.org; Sun, 12 May 2013 06:52:19 -0400 Received: by mail-wi0-f175.google.com with SMTP id h11so1971506wiv.8 for ; Sun, 12 May 2013 03:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=N1ZEelCvSR90zNvFnVDKZuHCLJ04PnI97C8GYjGNFGA=; b=Obk+F3n/SVlVZoQkJO3qsWv3dGnqd2fwGA+upagfyaXk9YhjzcDQ16EU0i/aO5RZZN ufhlZNQ7OiAHVxnaaZ+QHfyY6VSVAj3xE5/HyYeZu/pfp6qLP6EXDgy5qjq/YoRn+paF FI6HXFRTQLXf1DImeZNlrB5UP47t+zcUXisB6GLMlSE8THHgmtAxIJciuCmN6pMkqAAe 395QJ63wQWMrfexhJcH7cUNjkhNoTHUM4nmPUdbx4yzxd7pdFgdtzaHdgGeSOTKPN0GW /rUsj4BevI2UsmUS/WGeM6nngqru/pTtJmK9SgrzjessfV2B/pf8MeS6Z5gqd7YV5CBX HO+A== X-Received: by 10.180.183.50 with SMTP id ej18mr12744752wic.4.1368355938130; Sun, 12 May 2013 03:52:18 -0700 (PDT) Received: from [192.168.56.2] (ppp-173-23.31-151.libero.it. [151.31.23.173]) by mx.google.com with ESMTPSA id e8sm8512891wic.5.2013.05.12.03.52.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 May 2013 03:52:17 -0700 (PDT) Message-ID: <518F74AA.6090907@gmail.com> Date: Sun, 12 May 2013 12:53:30 +0200 From: Francesco Lavra User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: The development of GNU GRUB Subject: PATCH [0/2] ls core command: cleanup and fix Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22f X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 10:52:25 -0000 This 2-patch series contains changes to grub-core/kern/corecmd.c (grub_core_cmd_ls): the first patch removes unreachable code, while the second one handles correctly listing of the root directory of a device without requiring duplicated handling from each filesystem driver. -- Francesco