audk/MdePkg/Include
Hao Wu 6a62309459 MdePkg BaseLib: API PathRemoveLastItem not handle root paths properly
https://bugzilla.tianocore.org/show_bug.cgi?id=239

When the input path for API PathRemoveLastItem() is a root path like
'fs0:\', the API will return TRUE (indicating a directory or file was
removed from the path) and modifies the path to 'fs0:'. In fact, there's
no directory or file removed in the above case.

This commit adds additional check to resolve this issue and modifies the
API's description to make it more straightforward.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2016-11-21 09:23:25 +08:00
..
AArch64 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Arm MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Ebc MdePkg Base.h: Always define ASM_PFX 2014-09-01 17:23:10 +00:00
Guid MdePkg/GraphicsInfoHob: Add GraphicsDeviceInfo HOB GUID and structure 2016-10-12 10:42:15 +08:00
Ia32 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
IndustryStandard MdePkg ACPI60: Update MADT Revision per ACPI 6.0 Errata A 2016-10-26 13:45:24 +08:00
Ipf MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Library MdePkg BaseLib: API PathRemoveLastItem not handle root paths properly 2016-11-21 09:23:25 +08:00
Pi MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Ppi MdePkg: Follow PI1.4a update EFI_SEC_PLATFORM_INFORMATION2 description 2016-06-02 16:34:53 +08:00
Protocol MdePkg/BaseLib: Move CHAR_NULL definition to Base.h in BaseLib 2016-11-04 10:26:48 +08:00
Uefi MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
X64 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Base.h MdePkg Base.h: Add add comments on __ prefix in enum VERIFY_UINTXX_ENUM_SIZE 2016-11-18 11:10:05 +08:00
PiDxe.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiPei.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiSmm.h Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec. 2011-02-22 10:05:06 +00:00
Uefi.h Update the copyright notice format 2010-04-23 15:46:20 +00:00