]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Library/FileHandleLib.h
MdePkg\Library\UefiFileHandleLib: Make FileHandleWriteLine support both ASCII and...
authorQiu Shumin <shumin.qiu@intel.com>
Wed, 24 Jun 2015 08:09:05 +0000 (08:09 +0000)
committershenshushi <shenshushi@Edk2>
Wed, 24 Jun 2015 08:09:05 +0000 (08:09 +0000)
commita86c73cddaaa88bfc65955be21b1d5102e20ee47
treea4727891cc38423ad255671dfd8e458971b96c3d
parent8ad8a1fa52a8fdb0a00075f5f870235ef6e48b1b
MdePkg\Library\UefiFileHandleLib: Make FileHandleWriteLine support both ASCII and UNICODE file.

When the file is a UNICODE file (with UNICODE file tag) write UNICODE text.
When the file is an ASCII file write ASCII text.
If the file size is zero (without the file tag at the beginning) write ASCII text as default.

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