]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Library/FileHandleLib.h
MdePkg/Library/UefiFileHandleLib: Make FileHandleReadLine return the right buffer...
authorQiu Shumin <shumin.qiu@intel.com>
Mon, 24 Aug 2015 07:42:27 +0000 (07:42 +0000)
committershenshushi <shenshushi@Edk2>
Mon, 24 Aug 2015 07:42:27 +0000 (07:42 +0000)
commitba1806251ff8ff695175b92ab5732eadbcd2f72e
tree9dbf1aa640dccc3a9e475edecb6b1f148887c3b5
parent29b3a74986b67e3831e405a0197e8e7e30db843d
MdePkg/Library/UefiFileHandleLib: Make FileHandleReadLine return the right buffer size.

1. '\r' char will not return in buffer so buffer size should exclude the number of '\r' char.
2. When 'Truncate' is TRUE return the truncated string with 'EFI_SUCCESS' status.

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@18276 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/FileHandleLib.h
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c