projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90fedad
)
Fix some part of MoveFileExW Bug, Can not move folder, but it still can not move...
author
Magnus Olsen
<magnus@greatlord.com>
Sat, 17 Sep 2005 21:02:38 +0000
(21:02 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Sat, 17 Sep 2005 21:02:38 +0000
(21:02 +0000)
svn path=/trunk/; revision=17901
reactos/lib/kernel32/file/move.c
patch
|
blob
|
history
diff --git
a/reactos/lib/kernel32/file/move.c
b/reactos/lib/kernel32/file/move.c
index
c05c74c
..
643f612
100644
(file)
--- a/
reactos/lib/kernel32/file/move.c
+++ b/
reactos/lib/kernel32/file/move.c
@@
-325,7
+325,7
@@
MoveFileWithProgressW (
FILE_SHARE_WRITE|FILE_SHARE_READ,
NULL,
OPEN_EXISTING,
- FILE_
ATTRIBUTE_NORMAL
,
+ FILE_
FLAG_BACKUP_SEMANTICS
,
NULL);
if (hFile == INVALID_HANDLE_VALUE)
@@
-366,6
+366,13
@@
MoveFileWithProgressW (
sizeof(FILE_RENAME_INFORMATION) + DstPathU.Length,
FileRenameInformation);
CloseHandle(hFile);
+
+ /*
+ * FIXME:
+ * Fail now move the folder
+ * Before we fail at CreateFileW
+ */
+
if (NT_SUCCESS(errCode))
{
Result = TRUE;