Changeset 1849 for trunk/dll


Ignore:
Timestamp:
Aug 14, 2015, 4:52:09 PM (10 years ago)
Author:
John Small
Message:

Ticket 522: Change calls to "highmem-unsafe" Dos... functions to wrapped xDos...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r1803 r1849  
    4343  02 May 15 GKY Changes to R/O check to eliminate redundant checks and error messages
    4444  02 May 15 GKY Limit unlock attempts to exes and dlls.
     45  12 Aug 15 JBS Ticket #522: Ensure no "highmem-unsafe" functions are called directly.
     46                Calls to unsafe Dos... functions have been changed to call the wrapped xDos... functions
    4547
    4648***********************************************************************/
     
    551553
    552554          DosError(FERR_DISABLEHARDERR);
    553           error = DosForceDelete(dir);
     555          error = xDosForceDelete(dir);
    554556          if (error) {
    555557            make_deleteable(dir, error, TRUE);
    556             DosForceDelete(dir);
     558            xDosForceDelete(dir);
    557559          }
    558560          if (zaplong) {
     
    842844
    843845        DosError(FERR_DISABLEHARDERR);
    844         error = DosForceDelete(ss);
     846        error = xDosForceDelete(ss);
    845847        if (error) {
    846848          INT retrn = 0;
     
    854856            break;
    855857          DosError(FERR_DISABLEHARDERR);
    856           rc = (INT) DosForceDelete(ss);
     858          rc = (INT) xDosForceDelete(ss);
    857859          if (rc)
    858860            return rc;
     
    966968
    967969    DosError(FERR_DISABLEHARDERR);
    968     error = DosForceDelete(string);
     970    error = xDosForceDelete(string);
    969971    if (error) {
    970972      ret = make_deleteable(string, error, FALSE);
     
    972974        return 0;
    973975      DosError(FERR_DISABLEHARDERR);
    974       return DosForceDelete(string);
     976      return xDosForceDelete(string);
    975977    }
    976978  }
Note: See TracChangeset for help on using the changeset viewer.