summaryrefslogtreecommitdiffstats
path: root/ShellBinPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-06-06 16:23:33 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-06-07 08:51:41 +0800
commit4e6394455a8a9741dafe2928373db461ef21671e (patch)
treee79ad7a83086762b0745499b3c5b19a03d9b9099 /ShellBinPkg
parent7bd5a2c81ed5bc52ed63b348fcb1686f1fb5b398 (diff)
downloadedk2-4e6394455a8a9741dafe2928373db461ef21671e.tar.gz
edk2-4e6394455a8a9741dafe2928373db461ef21671e.tar.bz2
edk2-4e6394455a8a9741dafe2928373db461ef21671e.zip
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>
Diffstat (limited to 'ShellBinPkg')
0 files changed, 0 insertions, 0 deletions