Changeset 1739
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/init.c
r1720 r1739 120 120 started from fm2 after fm2 has been started with stdout and stderr 121 121 redirected to a file. 122 22 Feb 14 GKY Cleanup of readonly check code suppress spurious error on blocked directory 123 delete and eliminated the check on additional temp file deletes 122 124 123 125 ***********************************************************************/ … … 596 598 strcpy(enddir, ffb.achName); 597 599 if (ffb.attrFile & FILE_DIRECTORY) { 598 wipeallf( FALSE, "%s\\*", s);600 wipeallf(TRUE, "%s\\*", s); 599 601 DosDeleteDir(s); 600 602 } … … 636 638 DosForceDelete(szTempFile); 637 639 if (pTmpDir) { 638 wipeallf( FALSE, "%s\\*", pTmpDir);640 wipeallf(TRUE, "%s\\*", pTmpDir); 639 641 DosDeleteDir(pTmpDir); 640 642 } -
trunk/dll/worker.c
r1721 r1739 61 61 16 Feb 14 GKY Rework readonly check on delete code so it actually works in a logical way 62 62 and so it works with move to trashcan inabled. 63 22 Feb 14 GKY Cleanup of readonly check code suppress spurious error on blocked directory 64 delete and eliminated the check on additional temp file deletes 63 65 64 66 ***********************************************************************/ … … 1789 1791 } 1790 1792 DosReleaseMutexSem(hmtxFM2Delete); 1791 } 1792 if (error && (error != 5 || 1793 (error == 5 && 1793 } 1794 //DbgMsg(pszSrcFile, __LINE__, "error %i retrn %i", error, retrn); 1795 if (fWarnReadOnly && error == ERROR_FILE_EXISTS) { 1796 error = ERROR_ACCESS_DENIED; 1797 retrn = SM2_NO; 1798 } 1799 if (error && (error != ERROR_ACCESS_DENIED || 1800 (error == ERROR_ACCESS_DENIED && 1794 1801 (retrn == SM2_YES || retrn == SM2_DONTASK || retrn == 0)))) { 1795 1802 if (LogFileHandle)
Note:
See TracChangeset
for help on using the changeset viewer.
