public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ruiyu Ni <ruiyu.ni@intel.com>
To: edk2-devel@lists.01.org
Subject: [PATCH 0/2] ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':')
Date: Wed, 21 Dec 2016 16:54:59 +0800	[thread overview]
Message-ID: <20161221085501.159796-1-ruiyu.ni@intel.com> (raw)

When "fs0:dir"(drive letter without slash) is used as destination
of "cd", "cd" tries to change to "dir" in root directory of "fs0:".
It's incorrect. The correct behavior is to change to "dir" in
current directory of "fs0:"

Ruiyu Ni (2):
  MdePkg/BaseLib: Fix PathCleanUpDirectories to correctly handle "\.\"
  ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':')

 MdePkg/Library/BaseLib/FilePaths.c               |  60 ++--
 ShellPkg/Library/UefiShellLevel2CommandsLib/Cd.c | 415 +++++++++++++----------
 2 files changed, 265 insertions(+), 210 deletions(-)

-- 
2.9.0.windows.1



             reply	other threads:[~2016-12-21  8:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21  8:54 Ruiyu Ni [this message]
2016-12-21  8:55 ` [PATCH 1/2] MdePkg/BaseLib: Fix PathCleanUpDirectories to correctly handle "\.\" Ruiyu Ni
2016-12-21  8:55 ` [PATCH 2/2] ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':') Ruiyu Ni
2016-12-21 16:23   ` Carsey, Jaben
2016-12-23  5:43     ` Ni, Ruiyu
2016-12-27 23:01       ` Carsey, Jaben

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161221085501.159796-1-ruiyu.ni@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox