]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix file size error upon copy operation.
authorJaben Carsey <Jaben.carsey@intel.com>
Wed, 21 Aug 2013 17:32:16 +0000 (17:32 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 21 Aug 2013 17:32:16 +0000 (17:32 +0000)
commitac8783c8b162b9a3b1e2da222cf6d088fcf63cfb
tree7cfc2c5e7d93e3d310284e4d60e978954394a72d
parent18e44b07d4c1667ad49169810e1f2835f3534d13
ShellPkg: Fix file size error upon copy operation.

There was a case where an copy operation of a small file overwriting a larger file would not correctly remove the extra space in the old file.  The resultant file would have the entire source file and then what remained of the original file.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
reviewed-by: El-Haj-Mahmoud, Samer <samer.el-haj-mahmoud@hp.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14584 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c