don't expect FS drivers to return STATUS_NOT_IMPLEMENTED if they don't know how to do the move (STATUS_NOT_SUPPORTED is also a perfect valid error code), this change did hpoussin suggest Modified: trunk/reactos/lib/kernel32/file/move.c _____
Modified: trunk/reactos/lib/kernel32/file/move.c --- trunk/reactos/lib/kernel32/file/move.c 2005-09-25 21:18:27 UTC (rev 18074) +++ trunk/reactos/lib/kernel32/file/move.c 2005-09-25 22:05:39 UTC (rev 18075) @@ -386,7 +386,7 @@
{ Result = TRUE; } - else if (STATUS_NOT_IMPLEMENTED == errCode) + else { if (folder==FALSE) { @@ -697,7 +697,7 @@ /* FIXME file rename not yet implemented in all FSDs so it will always * fail, even when the move is to the same device */ - else if (STATUS_NOT_IMPLEMENTED == errCode) + //else if (STATUS_NOT_IMPLEMENTED == errCode) {
UNICODE_STRING SrcPathU; @@ -742,11 +742,7 @@ } } #endif - else - { - SetLastErrorByStatus (errCode); - Result = TRUE; - } + return Result; }