Ignore:
Timestamp:
May 9, 2000, 8:56:59 PM (25 years ago)
Author:
sandervl
Message:

lots of changes/fixes

File:
1 edited

Legend:

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

    r3483 r3501  
    1 /* $Id: misc.cpp,v 1.22 2000-05-02 20:53:13 sandervl Exp $ */
     1/* $Id: misc.cpp,v 1.23 2000-05-09 18:56:09 sandervl Exp $ */
    22
    33/*
     
    245245static BOOL fLogging = TRUE;
    246246static int  dwEnableLogging = 1;
     247static int  oldcrtmsghandle = 0;
    247248
    248249//#define CHECK_ODINHEAP
     
    278279                flog = fopen(logname, "w");
    279280        }
     281        oldcrtmsghandle = _set_crt_msg_handle(fileno(flog));
    280282    }
    281283    else
     
    411413void CloseLogFile()
    412414{
     415  if(oldcrtmsghandle)
     416        _set_crt_msg_handle(oldcrtmsghandle);
     417
    413418  fclose(flog);
    414419  flog = 0;
Note: See TracChangeset for help on using the changeset viewer.