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

crtdll rename entry + atom fs corruption fixes

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.