Ignore:
Timestamp:
Aug 23, 1999, 3:55:08 PM (26 years ago)
Author:
sandervl
Message:

Logfile changes

File:
1 edited

Legend:

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

    r615 r646  
    1 /* $Id: misc.cpp,v 1.8 1999-08-22 08:33:14 sandervl Exp $ */
     1/* $Id: misc.cpp,v 1.9 1999-08-23 13:54:43 sandervl Exp $ */
    22
    33/*
     
    2727#include <win32type.h>
    2828#include "misc.h"
    29 
     29#include "os2util.h"
     30#include "initterm.h"
    3031
    3132/*****************************************************************************
     
    253254    init = TRUE;
    254255
    255     if(!getenv("NOWIN32LOG"))
    256       flog = fopen("win32os2.log", "w");
     256    if(!getenv("NOWIN32LOG")) {
     257        char logname[CCHMAXPATH];
     258
     259        sprintf(logname, "odin32_%d.log", loadNr);
     260        flog = fopen(logname, "w");
     261    }
    257262    else
    258263      fLogging = FALSE;
     
    278283{
    279284  fclose(flog);
     285  flog = 0;
    280286}
    281287
Note: See TracChangeset for help on using the changeset viewer.