Changeset 1498 for trunk/dll/systemf.h


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/systemf.h

    r1497 r1498  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2008, 2009 Steven H. Levine
     9  Copyright (c) 2008, 2010 Steven H. Levine
    1010
    1111  Change log
    1212  21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c
     13  17 JAN 10 GKY Changes to environment handling in ExecuteOnList to facilitate move of commands to INI and allow
     14                the same commandline to have different environments (multiple different command titles).
     15  17 JAN 10 GKY Add ENVIRONMENT_SIZE vaiable to replace multiple (often different hard coded sizes) set to 2048
     16                (the largest value I found).
    1317
    1418***********************************************************************/
     
    3741#define CHILD         65536
    3842
     43#define ENVIRONMENT_SIZE 2048
     44
    3945typedef struct
    4046{
     
    4248  CHAR *commandline;
    4349  CHAR path[CCHMAXPATH];
    44   CHAR environment[1001];
     50  CHAR environment[ENVIRONMENT_SIZE];
    4551  CHAR tempprompt[128];
    4652  CHAR title[80];
Note: See TracChangeset for help on using the changeset viewer.