Skip to content

Commit

Permalink
fix 4957
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed May 14, 2017
1 parent ce9f381 commit d57d036
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions far/changelog
@@ -1,3 +1,7 @@
drkns 14.05.2017 20:32:53 +0000 - build 4960

1. Уточнение 4957.

drkns 14.05.2017 20:09:37 +0000 - build 4959

1. Расширим немного Adapter API:
Expand Down
4 changes: 3 additions & 1 deletion far/delete.cpp
Expand Up @@ -213,7 +213,9 @@ static bool MoveToRecycleBinInternal(const string& Objects)
if (Result == ERROR_ACCESS_DENIED && Global->Opt->ElevationMode&ELEVATION_MODIFY_REQUEST) // Achtung! ShellAPI doesn't set LastNtStatus, so don't use ElevationRequired() here.
Result = SHErrorToWinError(elevation::instance().fMoveToRecycleBin(fop));

return !Result && !fop.fAnyOperationsAborted;
SetLastError(Result);

return Result == ERROR_SUCCESS && !fop.fAnyOperationsAborted;
}

static bool WipeFileData(const string& Name, int TotalPercent, bool& Cancel)
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4959)m4_dnl
m4_define(BUILD,4960)m4_dnl

0 comments on commit d57d036

Please sign in to comment.