audk/MdePkg
Ruiyu Ni 54b1e0ec81 MdePkg: Enhance PathRemoveLastItem() to support "FS0:File.txt"
The original implementation only looks for very last backslash
and removes the string after that.
But when the path is like "FS0:File.txt" which doesn't contain
backslash, the function cannot work well.
The patch enhances the code to look for very last backslash or
colon to support the path which doesn't contain backslash.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hpe.com>
2016-08-10 10:17:11 +08:00
..
Include MdePkg: Add DmaRemappingReportingTable.h 2016-08-02 18:30:27 -07:00
Library MdePkg: Enhance PathRemoveLastItem() to support "FS0:File.txt" 2016-08-10 10:17:11 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdePkg.dec MdePkg: Add EFI Erase Block Protocol definitions 2016-04-13 10:42:19 +08:00
MdePkg.dsc MdePkg DSC: Add build option to disable deprecated APIs 2016-08-08 11:00:08 +08:00
MdePkg.uni MdePkg/MdePkg.uni: Add description for PcdUartDefaultReceiveFifoDepth 2016-04-05 14:09:32 +08:00
MdePkgExtra.uni MdePkg: Convert all .uni files to utf-8 2015-12-15 04:53:50 +00:00