Changeset 537 for trunk/src


Ignore:
Timestamp:
Aug 17, 1999, 9:30:50 PM (26 years ago)
Author:
phaller
Message:

Fix: ODINWRAP, OS2SEL, PROFILE, LZ32

Location:
trunk/src
Files:
4 edited

Legend:

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

    r529 r537  
    1 /* $Id: profile.cpp,v 1.9 1999-08-17 16:35:10 phaller Exp $ */
     1/* $Id: profile.cpp,v 1.10 1999-08-17 19:30:49 phaller Exp $ */
    22
    33/*
     
    14031403    for(x = 1;x < N_CACHED_PROFILES;x++)
    14041404    {
    1405       if (MRUProfile[x]->filename)
    1406       {
    1407         CurProfile = MRUProfile[x];
    1408         PROFILE_FlushFile();
    1409       }
     1405      if (MRUProfile[x])
     1406        if (MRUProfile[x]->filename)
     1407        {
     1408          CurProfile = MRUProfile[x];
     1409          PROFILE_FlushFile();
     1410        }
    14101411    }
    14111412    CurProfile = lastCurProfile;
  • trunk/src/lz32/initterm.cpp

    r511 r537  
    1 /* $Id: initterm.cpp,v 1.3 1999-08-16 16:55:32 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.4 1999-08-17 19:30:49 phaller Exp $ */
    22
    33/*
     
    3434#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3535
    36 extern "C" {
    37 void CDECL _ctordtorInit( void );
    38 void CDECL _ctordtorTerm( void );
    39 }
    40 
    4136/*-------------------------------------------------------------------*/
    4237/* A clean up routine registered with DosExitList must be used if    */
     
    5651/* calling this function.                                                   */
    5752/****************************************************************************/
    58 unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long
    59                                    ulFlag)
     53unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule,
     54                                   unsigned long ulFlag)
    6055{
    61    size_t i;
    6256   APIRET rc;
    6357
     
    7064   switch (ulFlag) {
    7165      case 0 :
    72          _ctordtorInit();
    7366
    7467         /*******************************************************************/
     
    9790static void APIENTRY cleanup(ULONG ulReason)
    9891{
    99    _ctordtorTerm();
    10092   DosExitList(EXLST_EXIT, cleanup);
    10193   return ;
  • trunk/src/lz32/lz32.cpp

    r530 r537  
    1 /* $Id: lz32.cpp,v 1.5 1999-08-17 16:58:34 sandervl Exp $ */
     1/* $Id: lz32.cpp,v 1.6 1999-08-17 19:30:49 phaller Exp $ */
    22
    33/*
     
    1515#include <ctype.h>
    1616#include <odin.h>
     17#include <os2sel.h>
     18#include <odinwrap.h>
    1719#include <windef.h>
    1820#include <winbase.h>
     
    2123#include <lz32.h>
    2224#include "debugtools.h"
    23 #include <odinwrap.h>
    2425
    2526
  • trunk/src/lz32/makefile

    r510 r537  
    1 # $Id: makefile,v 1.2 1999-08-16 16:28:03 sandervl Exp $
     1# $Id: makefile,v 1.3 1999-08-17 19:30:50 phaller Exp $
    22
    33#
     
    3030        $(PDWIN32_LIB)\odincrt.lib \
    3131        $(PDWIN32_LIB)\kernel32.lib \
    32         os2386.lib  cppom30O.lib \
     32        os2386.lib \
     33        sbsstub.obj \
    3334        $(TARGET).def
    3435        $(CP) $@ $(PDWIN32_BIN)
Note: See TracChangeset for help on using the changeset viewer.