Changeset 1498 for trunk/dll/valid.c


Ignore:
Timestamp:
Jan 18, 2010, 1:57:01 AM (16 years ago)
Author:
Gregg Young
Message:

Changes to get FM2 to compile with the latest watcom 1.9 beta (mostly type casts of CHAR CONSTANT * to CHAR *). Changes to get the environment settings working everywhere again (broken by the change that moved commands to the INI); Added an environment size variable (set to 2048 which was the largest I found hard coded). Still need to find everywhere the environment size is set and use this variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/valid.c

    r1480 r1498  
    77
    88  Copyright (c) 1993, 1998 M. Kimes
    9   Copyright (c) 2002, 2009 Steven H.Levine
     9  Copyright (c) 2002, 2010 Steven H.Levine
    1010
    1111  23 Nov 02 SHL RootName: rework for sanity
     
    4040  22 Jul 09 GKY Add LocalHD driveflag
    4141  22 Jul 09 GKY Streamline scanning code for faster Tree rescans
     42  17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *.
    4243
    4344***********************************************************************/
     
    484485  if (filename && *filename) {
    485486    DosError(FERR_DISABLEHARDERR);
    486     ret = DosQueryPathInfo(filename, FIL_STANDARD, &fsa, (ULONG) sizeof(fsa));
     487    ret = DosQueryPathInfo((CHAR *) filename, FIL_STANDARD, &fsa, (ULONG) sizeof(fsa));
    487488    if (!ret)
    488489      return ((fsa.attrFile & FILE_DIRECTORY) == 0);
Note: See TracChangeset for help on using the changeset viewer.