Changeset 773 for trunk/dll/systemf.c


Ignore:
Timestamp:
Aug 7, 2007, 11:23:27 PM (18 years ago)
Author:
Steven Levine
Message:

Correct some compare directories collector nits
Use BldQuoted... functions
Move BldQuoted... functions near primary callers
Add RUNTYPE_MASK
Use Runtime_Error2 more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r771 r773  
    731731    }
    732732
    733     if ((type & 15) == SYNCHRONOUS ||
    734         (type & 15) == ASYNCHRONOUS ||
    735         (type & 15) == DETACHED)
     733    if ((type & RUNTYPE_MASK) == SYNCHRONOUS ||
     734        (type & RUNTYPE_MASK) == ASYNCHRONOUS ||
     735        (type & RUNTYPE_MASK) == DETACHED)
    736736    {
    737737      strip_lead_char(" \t", pszPgm);
     
    826826        }
    827827        ret = DosExecPgm(szObject, sizeof(szObject),
    828                          ((type & 15) == ASYNCHRONOUS ?  EXEC_ASYNC : 0) +
    829                          ((type & 15) == DETACHED ? EXEC_BACKGROUND : 0),
     828                         ((type & RUNTYPE_MASK) == ASYNCHRONOUS ?  EXEC_ASYNC : 0) +
     829                         ((type & RUNTYPE_MASK) == DETACHED ? EXEC_BACKGROUND : 0),
    830830                         pszPgm, pszEnvironment, &results, pszPgm);
    831831        if (pszDirectory && *pszDirectory)
     
    10681068      sdata.ObjectBuffer = szObject;
    10691069      sdata.ObjectBuffLen = sizeof(szObject);
    1070       if ((type & 15) == SEPARATEKEEP)
     1070      if ((type & RUNTYPE_MASK) == SEPARATEKEEP)
    10711071        sdata.PgmControl |= SSF_CONTROL_NOAUTOCLOSE;
    10721072      if (type & MAXIMIZED)
Note: See TracChangeset for help on using the changeset viewer.