mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
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
svn path=/trunk/; revision=18075
This commit is contained in:
@@ -386,7 +386,7 @@ MoveFileWithProgressW (
|
||||
{
|
||||
Result = TRUE;
|
||||
}
|
||||
else if (STATUS_NOT_IMPLEMENTED == errCode)
|
||||
else
|
||||
{
|
||||
if (folder==FALSE)
|
||||
{
|
||||
@@ -697,7 +697,7 @@ FreeMemAndExit:
|
||||
/* 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 @@ FreeMemAndExit:
|
||||
}
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
SetLastErrorByStatus (errCode);
|
||||
Result = TRUE;
|
||||
}
|
||||
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user