audk/ShellPkg/Library
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
..
UefiDpLib ShellPkg: Rename some functions in Dp to avoid build errors. 2015-09-15 04:54:06 +00:00
UefiHandleParsingLib ShellPkg: Replace use case of deprecated function GetVariable with GetVariable2. 2015-08-27 04:45:23 +00:00
UefiShellBcfgCommandLib ShellPkg: Help and Error Messages Update 2015-03-09 22:18:59 +00:00
UefiShellCEntryLib ShellPkg: Refine the fomat in INF/DEC files to follow spec. 2015-01-22 01:44:11 +00:00
UefiShellCommandLib ShellPkg: Fix typo of 'determines' in ShellPkg. 2015-07-08 01:54:46 +00:00
UefiShellDebug1CommandsLib ShellPkg: Added SMBIOS 2.8 Type 17 changes to smbiosview 2015-09-18 02:58:31 +00:00
UefiShellDriver1CommandsLib ShellPkg: Fix a command line unicode string type. 2015-09-16 08:20:27 +00:00
UefiShellInstall1CommandsLib ShellPkg: Refine the fomat in INF/DEC files to follow spec. 2015-01-22 01:44:11 +00:00
UefiShellLevel1CommandsLib ShellPkg: Fix 'for' command fail with multiple fields. 2015-09-09 04:57:05 +00:00
UefiShellLevel2CommandsLib ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir(). 2015-10-23 02:03:20 +00:00
UefiShellLevel3CommandsLib ShellPkg: use UEFI_APPLICATION module type for Shell components 2015-08-25 14:54:36 +00:00
UefiShellLib ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir(). 2015-10-23 02:03:20 +00:00
UefiShellNetwork1CommandsLib ShellPkg: Get media status in ifconfig command 2015-08-31 03:13:33 +00:00
UefiShellTftpCommandLib ShellPkg: Use safe string functions to refine 'Tftp.c' code. 2015-10-15 02:19:14 +00:00