]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Refine the cod logic of FileHandleLib.
authorQiu Shumin <shumin.qiu@intel.com>
Fri, 19 Jun 2015 02:05:10 +0000 (02:05 +0000)
committershenshushi <shenshushi@Edk2>
Fri, 19 Jun 2015 02:05:10 +0000 (02:05 +0000)
commitbfc2fc9e90ae15bec3e4f84e31bf1c1fe34a915e
tree26a469e8c574d94f70fcd86e94bf13fb3d7ad4a0
parent2d28f3b73e657127738e3713a948eb2725b86174
MdePkg: Refine the cod logic of FileHandleLib.

When the file is empty, make FileHandleReadLine in FileHandleLib return EFI_SUCCESS instead of EFI_BUFFER_TOO_SMALL.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17668 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c