summaryrefslogtreecommitdiff
path: root/Core/ShellBinPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-06-06 16:23:33 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:55 +0800
commit4d32a42a4528bc95a849791d9698ca6ab3ba65b0 (patch)
tree8ec282eb5f387f450ae6771b2729de35c9361b1d /Core/ShellBinPkg
parentd0fe0c468a685235a616b2cabe3512472c772e2c (diff)
downloadedk2-platforms-4d32a42a4528bc95a849791d9698ca6ab3ba65b0.tar.xz
ShellPkg/parse: Handle Unicode stream from pipe correctly
The original code expects the Unicode stream from pipe doesn't contains the Unicode BOM. But that's not true. Commit [9ed21946c76e430097e9c4e59b419af928e0cb8c] changes CreateFileInterfaceMem() to add the BOM for Unicode stream. When parse pipe support was firstly added, a private implementation ParseReturnStdInLine() was created to specially handle the Unicode stream without BOM. Since now the Unicode steam contains BOM, the private implementation can be removed and ShellFileHandleReturnLine() can be used directly. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Tapan Shah <tapandshah@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> (cherry picked from commit 4e6394455a8a9741dafe2928373db461ef21671e)
Diffstat (limited to 'Core/ShellBinPkg')
0 files changed, 0 insertions, 0 deletions