From b4a4e5c0be0072dedd1e37cd103a36fdfef3d354 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sat, 4 Aug 2001 10:40:38 +0000 Subject: [PATCH] Fixed a bug in CopyFileExW(). The write count is set to the previous returned read length. svn path=/trunk/; revision=2151 --- reactos/lib/kernel32/file/copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/file/copy.c b/reactos/lib/kernel32/file/copy.c index c0efd8dcdeb..0da4d8938f4 100644 --- a/reactos/lib/kernel32/file/copy.c +++ b/reactos/lib/kernel32/file/copy.c @@ -1,4 +1,4 @@ -/* $Id: copy.c,v 1.7 2000/06/03 14:47:31 ea Exp $ +/* $Id: copy.c,v 1.8 2001/08/04 10:40:38 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -167,7 +167,7 @@ CopyFileExW ( lpData, (PIO_STATUS_BLOCK)&IoStatusBlock, lpBuffer, - RegionSize, + IoStatusBlock.Information, NULL, NULL);