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 Update the copyright notice format 2010-04-23 15:46:20 +00:00
CpuLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
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 Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath. 2013-07-26 03:00:21 +00:00
DxeCoreEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
DxeServicesLib.h MdePkg: Add a new DxeServicesLib GetFileDevicePathFromAnyFv () function 2015-10-23 05:53:08 +00:00
DxeServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
ExtendedSalLib.h Add ESAL support libraries to MdePkg 2011-06-10 18:58:08 +00:00
ExtractGuidedSectionLib.h Add API to ExtractGuidedSectionLib.h to retrieve the set of registered handlers. 2010-11-04 05:51:32 +00:00
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 Add HSTI support. 2015-01-19 06:08:23 +00:00
IoLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
MemoryAllocationLib.h Update MemoryAllocationLib.AllocateAlignedPages API comments for memory overflow ASSERT case. 2013-12-31 07:19:09 +00:00
OrderedCollectionLib.h MdePkg: introduce OrderedCollectionLib library class 2014-08-12 07:28:52 +00:00
PalLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PcdLib.h MdePkg: Follow PI1.4a to fix artificial limitation of SkuId range 2016-05-23 10:48:53 +08:00
PciCf8Lib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciExpressLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciSegmentLib.h MdePkg/PciSegmentLib: Optimize PCI_SEGMENT_LIB_ADDRESS() 2016-10-27 21:57:52 -07:00
PeCoffExtraActionLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeCoffGetEntryPointLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeCoffLib.h MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
PeiCoreEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeiServicesLib.h 1. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in DXE using the Security Arch Protocol 2013-10-11 03:54:13 +00:00
PeiServicesTablePointerLib.h Add VOID MigratePeiServicesTablePointer() to fix'Deprecated declaration'. 2014-01-17 06:06:30 +00:00
PeimEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PerformanceLib.h MdePkg: Update PerformanceLib comments not to check Identifier. 2016-04-11 16:20:28 +08:00
PostCodeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PrintLib.h MdePkg: Add %u and %lu support for PrintLib and DebugLib. 2015-06-08 05:37:31 +00:00
ReportStatusCodeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
ResourcePublicationLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
RngLib.h MdePkg: Create GetRandomNumber128 in RngLib 2015-10-09 06:03:17 +00:00
S3BootScriptLib.h Add comment for S3BootScriptSaveMemPoll API, since it does not match PI specification. 2014-03-01 12:25:31 +00:00
S3IoLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
S3PciLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
S3SmbusLib.h MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
S3StallLib.h MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
SalLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SerialPortLib.h MdePkg SerialPortLib: Upstream Get(Set)Control/SetAttributes interfaces 2015-11-26 08:46:52 +00:00
SmbusLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SmmLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SmmMemLib.h Add SmmMemLib, which can be used by SMM driver or SMM core to check communication buffer. 2015-02-02 14:40:44 +00:00
SmmPeriodicSmiLib.h MdePkg: Fix typos in comments 2016-10-21 16:40:51 +08:00
SmmServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SynchronizationLib.h MdePkg/Include: Add volatile to SynchronizationLib parameters 2016-11-17 17:08:11 -08:00
TimerLib.h Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds. 2011-08-25 05:59:17 +00:00
UefiApplicationEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiBootServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiDecompressLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiDriverEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiLib.h MdePkg/UefiLib: introduce EfiEventGroupSignal 2016-03-23 12:05:39 +01:00
UefiRuntimeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiRuntimeServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiScsiLib.h MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command 2015-12-11 01:57:41 +00:00
UefiUsbLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00