Changeset 1846 for trunk/dll/printer.c


Ignore:
Timestamp:
Aug 12, 2015, 10:31:54 PM (10 years ago)
Author:
John Small
Message:

Ticket #524: Ensure no "highmem-unsafe" functions are called directly
Calls to unsafe Dos... functions have been changed to call the wrapped xDos... functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/printer.c

    r1673 r1846  
    1616  07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook.
    1717  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
     18  12 Aug 15 JBS Ticket #524: Ensure no "highmem-unsafe" functions are called directly
     19                Calls to unsafe Dos... functions have been changed to call the wrapped xDos... functions
    1820
    1921***********************************************************************/
     
    9294      return TRUE;
    9395    }
    94     if (!DosQueryHType(fileno(printhandle), &htype, &flagword) &&
     96    if (!xDosQueryHType(fileno(printhandle), &htype, &flagword) &&
    9597        !(htype & 7)) {
    9698      fclose(printhandle);
Note: See TracChangeset for help on using the changeset viewer.