1. Expand and add null terminate to end of string like function comments said in...
authorStar Zeng <star.zeng@intel.com>
Tue, 12 Mar 2013 01:51:42 +0000 (01:51 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 7 Apr 2016 06:22:43 +0000 (23:22 -0700)
commit3ba5368df0a3d459606fe78bc73776359c8bc005
tree403bb7a9ef4bf5b6f368379fa87cc07eb1f53c96
parentf4500fc17952c367d21d89defa9cd72b956e6637
1. Expand and add null terminate to end of string like function comments said in EngFatToStr(), it could fix the randomly failure during recovery to find the correct recovery image for name length = 8.3 case. 2. Skip directory entry with FAT_ATTR_DIRECTORY, not just = FAT_ATTR_DIRECTORY in FatReadNextDirectoryEntry().

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
(based on FatPkg commit 1cc9454c1223e8177ba3028bdf3fa72b52aacffe)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
FatPkg/FatPei/FatLiteAccess.c
FatPkg/FatPei/FatLiteLib.c