Changeset 6249 for trunk/src


Ignore:
Timestamp:
Jul 8, 2001, 1:02:10 PM (24 years ago)
Author:
sandervl
Message:

crtdll rename entry + atom fs corruption fixes

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/atom.cpp

    r6199 r6249  
    1 /* $Id: atom.cpp,v 1.9 2001-07-07 13:58:37 sandervl Exp $ */
     1/* $Id: atom.cpp,v 1.10 2001-07-08 11:02:10 sandervl Exp $ */
    22
    33/*
     
    3232ATOM APIENTRY LookupAtom(HATOMTBL hAtomTbl, PSZ psz, ULONG actionMask);
    3333
     34inline ATOM _LookupAtom(HATOMTBL hAtomTbl, PSZ psz, ULONG actionMask)
     35{
     36 ATOM yyrc;
     37 USHORT sel = RestoreOS2FS();
     38
     39    yyrc = LookupAtom(hAtomTbl, psz, actionMask);
     40    SetFS(sel);
     41
     42    return yyrc;
     43}
     44
     45#undef  LookupAtom
     46#define LookupAtom _LookupAtom
     47
     48
    3449HATOMTBL privateAtomTable = NULL;
    3550HATOMTBL systemAtomTable  = NULL;
  • trunk/src/kernel32/windllbase.cpp

    r6015 r6249  
    1 /* $Id: windllbase.cpp,v 1.26 2001-06-15 09:42:47 bird Exp $ */
     1/* $Id: windllbase.cpp,v 1.27 2001-07-08 11:02:10 sandervl Exp $ */
    22
    33/*
     
    687687        PROFILE_SetOdinIniString(DLLRENAMEOS2_SECTION, "MCICDA", "MCICDA.DRV");
    688688    }
     689    if(PROFILE_GetOdinIniString(DLLRENAMEWIN_SECTION, "CRTDLL", "", renameddll,
     690                                sizeof(renameddll)-1) <= 1)
     691    {
     692        PROFILE_SetOdinIniString(DLLRENAMEWIN_SECTION, "CRTDLL",   "CRTDLL32");
     693        PROFILE_SetOdinIniString(DLLRENAMEOS2_SECTION, "CRTDLL32", "CRTDLL");
     694    }
    689695}
    690696//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.