]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix ASCII input redirection does not work correctly.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 15 Oct 2015 02:43:31 +0000 (02:43 +0000)
committershenshushi <shenshushi@Edk2>
Thu, 15 Oct 2015 02:43:31 +0000 (02:43 +0000)
commit48cb33ec30c1b38664ed6b541c4ab61d6226d84b
tree05b963f91eee8f64c57b845c26107cb8fadfe03c
parentda6b8feb223e6db3b13bcf1176eccca3ef450b30
ShellPkg: Fix ASCII input redirection does not work correctly.

When executing 'ls -b <a arg.txt' Shell cannot get the ASCII char in 'arg.txt' correctly.
This patch updates the file read buffer size when read from ASCII file to fix the bug.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Signed-off-by: Felix Poludov <Felixp@ami.com>
Signed-off-by: Oleksiy Yakovlev <Oleksiyy@ami.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18609 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/ConsoleWrappers.c
ShellPkg/Application/Shell/FileHandleWrappers.c
ShellPkg/Application/Shell/ShellParametersProtocol.c