mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 14:18:41 +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:
parent
aa2f14ed56
commit
157b81edbd
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue