Changeset 7794 for trunk/src


Ignore:
Timestamp:
Feb 2, 2002, 3:19:01 PM (24 years ago)
Author:
sandervl
Message:

some minor updates

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

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

    r7319 r7794  
    1 /* $Id: misc.cpp,v 1.43 2001-11-10 17:03:05 sandervl Exp $ */
     1/* $Id: misc.cpp,v 1.44 2002-02-02 14:19:01 sandervl Exp $ */
    22
    33/*
     
    3434#include <versionos2.h>
    3535#include "odinbuild.h"
    36 
     36#include <cpuhlp.h>
    3737
    3838/*****************************************************************************
     
    269269
    270270//#define LOG_TIME
     271//#define SHOW_FPU_CONTROLREG
    271272
    272273int SYSTEM WriteLog(char *tekst, ...)
     
    363364      if(sel == 0x150b && !fIsOS2Image)
    364365        fprintf(flog,
     366#ifdef SHOW_FPU_CONTROLREG
     367                "t%02d (%3d)(%3x) : ",
     368                teb->o.odin.threadId,
     369                ulCallDepth,
     370                CONTROL87(0,0));
     371#else
    365372                "t%02d (%3d): (FS=150B) ",
    366373                teb->o.odin.threadId,
    367374                ulCallDepth);
     375#endif
    368376      else
    369377        fprintf(flog,
    370                 "t%02d (%3d): ",
     378#ifdef SHOW_FPU_CONTROLREG
     379                "t%02d (%3d)(%3x) : ",
     380                teb->o.odin.threadId,
     381                ulCallDepth,
     382                CONTROL87(0,0));
     383#else
     384                "t%02d (%3d) : ",
    371385                teb->o.odin.threadId,
    372386                ulCallDepth);
     387#endif
    373388#endif
    374389    }
  • trunk/src/kernel32/wprocess.cpp

    r7567 r7794  
    1 /* $Id: wprocess.cpp,v 1.141 2001-12-07 14:13:39 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.142 2002-02-02 14:19:01 sandervl Exp $ */
    22
    33/*
     
    20332033                dprintf(("KERNEL32:  GetProcAddress %s from %X returned %X\n", lpszProc, hModule, proc));
    20342034        else    dprintf(("KERNEL32:  GetProcAddress %x from %X returned %X\n", lpszProc, hModule, proc));
     2035
     2036        SetLastError(ERROR_SUCCESS);
    20352037        return proc;
    20362038  }
     
    20392041        dprintf(("KERNEL32:  GetProcAddress %s from %X returned %X\n", lpszProc, hModule, proc));
    20402042  else  dprintf(("KERNEL32:  GetProcAddress %x from %X returned %X\n", lpszProc, hModule, proc));
     2043  SetLastError(ERROR_SUCCESS);
    20412044  return(proc);
    20422045}
     
    20692072    else {
    20702073        dprintf(("GetVersionStruct; just loaded dll %s, but can't find it now!", lpszModName));
    2071         DebugInt3();
     2074////        DebugInt3();
    20722075    }
    20732076    FreeLibrary(hDll);
     
    20982101    else {
    20992102        dprintf(("GetVersionSize; just loaded dll %s, but can't find it now!", lpszModName));
    2100         DebugInt3();
     2103////        DebugInt3();
    21012104    }
    21022105    FreeLibrary(hDll);
Note: See TracChangeset for help on using the changeset viewer.