Changeset 15395


Ignore:
Timestamp:
Dec 17, 2000, 11:45:52 PM (24 years ago)
Author:
bird
Message:

Added option for EXE fixes.

Location:
tags/trunk/src/win32k
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/win32k/dev32/d32init.c

    r15357 r15395  
    1 /* $Id: d32init.c,v 1.27 2000-12-12 14:50:09 bird Exp $
     1/* $Id: d32init.c,v 1.28 2000-12-17 22:45:50 bird Exp $
    22 *
    33 * d32init.c - 32-bits init routines.
     
    163163
    164164            case 'e':
    165             case 'E':/* ELF */
     165            case 'E':/* Elf or EXe */
    166166                pszTmp2 = strpbrk(pszTmp, ":=/- ");
    167                 if (pszTmp2 != NULL
    168                     && (pszTmp2[1] == 'N' ||pszTmp2[1] == 'n' || pszTmp2[1] == 'D' || pszTmp2[1] == 'd')
    169                     )
    170                     options.fElf = FALSE;
     167                if (pszTmp[1] != 'x' && pszTmp != 'X')
     168                {
     169                    options.fElf = !(pszTmp2 != NULL
     170                                     && (   pszTmp2[1] == 'N' || pszTmp2[1] == 'n'
     171                                         || pszTmp2[1] == 'D' || pszTmp2[1] == 'd'));
     172                }
    171173                else
    172                     options.fElf = TRUE;
     174                {
     175                    options.fExeFixes = !(pszTmp2 != NULL
     176                                          && (   pszTmp2[1] == 'N' || pszTmp2[1] == 'n'
     177                                              || pszTmp2[1] == 'D' || pszTmp2[1] == 'd'));
     178                }
    173179                break;
    174180
  • TabularUnified tags/trunk/src/win32k/include/options.h

    r15341 r15395  
    1 /* $Id: options.h,v 1.13 2000-12-11 06:22:14 bird Exp $
     1/* $Id: options.h,v 1.14 2000-12-17 22:45:52 bird Exp $
    22 *
    33 * Options.
     
    6363            FALSE,                  /* fNoLoader     */     \
    6464            TRUE,                   /* fDllFixes     */     \
     65            TRUE,                   /* fExeFixes     */     \
    6566            CB_SWP_INIT,            /* cbSwpHeapInit */     \
    6667            CB_SWP_MAX,             /* cbSwpHeapMax  */     \
     
    8990#define isDllFixesEnabled()         (options.fDllFixes)
    9091#define isDllFixesDisabled()        (!options.fDllFixes)
     92
     93#define isExeFixesEnabled()         (options.fExeFixes)
     94#define isExeFixesDisabled()        (!options.fExeFixes)
    9195
    9296/* INC */
     
    133137    /** @cat Options affecting the behaviour changes in the OS/2 loader */
    134138    ULONG       fDllFixes;              /* Enables the long DLL name and non .DLL extention fixes. */
     139    ULONG       fExeFixes;              /* Enables EXE files to export entry points. */
    135140
    136141    /** @cat Options affecting the heap. */
Note: See TracChangeset for help on using the changeset viewer.