audk/ShellPkg/Application/Shell
Qiu Shumin fbd2dfadfe ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir().
In Shell spec 2.1 the return name of EFI_SHELL_PROTOCOL.GetCurDir() is defined as 'fs0:\current-dir' while in current implementation it's 'fs0:\current-dir\'. 
To follow spec the patch removed the redundant '\' char.

Since it has been broken for a long time, some codes may depend on the broken behavior.
After this change 'EFI_SHELL_PROTOCOL.GetCurDir()' and 'UefiShellLib.ShellGetCurrentDir()'
will return a current directory string without tailing '\' (fs0:\current-dir), the value of Shell environment variable 'cwd' will become 'fs0:\current-dir' as well.

This patch has updated all the code in EDKII to make them depend on the new behavior.
Developers should check whether 'GetCurDir()' and 'ShellGetCurrentDir' are used in their source code.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18653 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-23 02:03:20 +00:00
..
ConsoleLogger.c ShellPkg: Make BOOLEAN variable not use explicit comparison. 2015-06-23 01:04:26 +00:00
ConsoleLogger.h Fix CRLF format 2014-01-22 08:40:29 +00:00
ConsoleWrappers.c ShellPkg: Fix ASCII input redirection does not work correctly. 2015-10-15 02:43:31 +00:00
ConsoleWrappers.h ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
FileHandleInternal.h Fix CRLF format 2014-01-22 08:40:29 +00:00
FileHandleWrappers.c ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir(). 2015-10-23 02:03:20 +00:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Fix Shell does not support ASCII pipe(|a). 2015-09-15 00:58:59 +00:00
Shell.h ShellPkg: Fix Shell fail with redundant space following delay number. 2015-09-10 03:08:56 +00:00
Shell.inf ShellPkg: force use of AARCH64 small model when building DEBUG shell 2015-08-20 06:39:04 +00:00
Shell.uni ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir(). 2015-10-23 02:03:20 +00:00
ShellEnvVar.c ShellPkg: Use safe string functions to refine code. 2015-06-30 03:18:31 +00:00
ShellEnvVar.h Refine comments and two code style. 2011-09-02 08:05:34 +00:00
ShellManParser.c ShellPkg: Use safe string functions to refine code. 2015-06-30 03:18:31 +00:00
ShellManParser.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
ShellParametersProtocol.c ShellPkg: Fix ASCII input redirection does not work correctly. 2015-10-15 02:43:31 +00:00
ShellParametersProtocol.h ShellPkg: refine command line parsing 2015-01-27 18:56:36 +00:00
ShellProtocol.c ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir(). 2015-10-23 02:03:20 +00:00
ShellProtocol.h ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00