public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':')
@ 2016-12-21  8:54 Ruiyu Ni
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Ruiyu Ni @ 2016-12-21  8:54 UTC (permalink / raw)
  To: edk2-devel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-27 23:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-21  8:54 [PATCH 0/2] ShellPkg/cd: Fix "cd" to support "fs0:dir" (no slash after ':') Ruiyu Ni
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox