audk/MdePkg/Include/Library
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
..
BaseLib.h MdePkg BaseLib: API PathRemoveLastItem not handle root paths properly 2016-11-21 09:23:25 +08:00
BaseMemoryLib.h MdePkg BaseMemoryLib: Add C implementation of API IsZeroBuffer() 2016-08-22 18:54:30 +08:00
CacheMaintenanceLib.h
CpuLib.h
DebugLib.h MdePkg/DebugLib.h: add ASSERT_RETURN_ERROR() 2016-10-25 10:46:07 +02:00
DebugPrintErrorLevelLib.h MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
DevicePathLib.h
DxeCoreEntryPoint.h
DxeServicesLib.h
DxeServicesTableLib.h
ExtendedSalLib.h
ExtractGuidedSectionLib.h
FileHandleLib.h MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
HobLib.h MdePkg HobLib: Check FV alignment when building FV HOB 2016-11-17 09:27:12 +08:00
HstiLib.h
IoLib.h
MemoryAllocationLib.h
OrderedCollectionLib.h
PalLib.h
PcdLib.h
PciCf8Lib.h
PciExpressLib.h
PciLib.h
PciSegmentLib.h MdePkg/PciSegmentLib: Optimize PCI_SEGMENT_LIB_ADDRESS() 2016-10-27 21:57:52 -07:00
PeCoffExtraActionLib.h
PeCoffGetEntryPointLib.h
PeCoffLib.h MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
PeiCoreEntryPoint.h
PeiServicesLib.h
PeiServicesTablePointerLib.h
PeimEntryPoint.h
PerformanceLib.h
PostCodeLib.h
PrintLib.h
ReportStatusCodeLib.h
ResourcePublicationLib.h
RngLib.h
S3BootScriptLib.h
S3IoLib.h
S3PciLib.h
S3SmbusLib.h
S3StallLib.h
SalLib.h
SerialPortLib.h
SmbusLib.h
SmmLib.h
SmmMemLib.h
SmmPeriodicSmiLib.h MdePkg: Fix typos in comments 2016-10-21 16:40:51 +08:00
SmmServicesTableLib.h
SynchronizationLib.h MdePkg/Include: Add volatile to SynchronizationLib parameters 2016-11-17 17:08:11 -08:00
TimerLib.h
UefiApplicationEntryPoint.h
UefiBootServicesTableLib.h
UefiDecompressLib.h
UefiDriverEntryPoint.h
UefiLib.h
UefiRuntimeLib.h
UefiRuntimeServicesTableLib.h
UefiScsiLib.h
UefiUsbLib.h