From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F1CA221C9127B for ; Tue, 29 Aug 2017 01:08:31 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Aug 2017 01:11:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,444,1498546800"; d="scan'208";a="1189250900" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.2]) by fmsmga001.fm.intel.com with ESMTP; 29 Aug 2017 01:11:11 -0700 From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Tue, 29 Aug 2017 16:11:04 +0800 Message-Id: <20170829081107.442452-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.12.2.windows.2 Subject: [PATCH 0/3] Update CWD and current mapping properly X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 08:08:32 -0000 The patches fix several bugs that caused by not updating CWD and current mapping properly. Huajing Li (3): ShellPkg: Rename gShellCurDir to gShellCurMapping ShellPkg: Fix bug that fails to change CWD after "map -r". ShellPkg: Update CWD and current mapping when commands return ShellPkg/Application/Shell/Shell.c | 18 +++++++++- ShellPkg/Application/Shell/ShellProtocol.c | 8 ++--- ShellPkg/Include/Library/ShellCommandLib.h | 4 +-- .../UefiShellCommandLib/UefiShellCommandLib.c | 42 +++++++++++++++++++--- 4 files changed, 61 insertions(+), 11 deletions(-) -- 2.12.2.windows.2