Changeset 435 for trunk/src/kernel32


Ignore:
Timestamp:
Aug 6, 1999, 2:14:12 PM (26 years ago)
Author:
phaller
Message:

Fix: Heap changes

Location:
trunk/src/kernel32
Files:
3 edited

Legend:

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

    r297 r435  
    1 /* $Id: console.cpp,v 1.10 1999-07-12 17:45:51 phaller Exp $ */
     1/* $Id: console.cpp,v 1.11 1999-08-06 12:14:10 phaller Exp $ */
    22
    33/*
     
    5353 * Includes                                                                  *
    5454 *****************************************************************************/
     55
     56#include <builtin.h>
     57#include <stdlib.h>
     58#include <string.h>
    5559
    5660#define  INCL_WIN
     
    6367#define  INCL_AVIO
    6468#include <os2wrap.h>         //Odin32 OS/2 api wrappers
    65 #include <builtin.h>
    66 #include <stdlib.h>
    67 #include <string.h>
    6869
    6970#include <win32type.h>
  • trunk/src/kernel32/heapstring.cpp

    r434 r435  
    656656  if (!p)
    657657  {
    658     dprintf(("KERNEL32: HEAP_malloc(%08xh,%08xh,%08xh) out of memory.\n",
    659              heap,
    660              flags,
     658    dprintf(("KERNEL32: HEAP_malloc(%08xh) out of memory.\n",
    661659             size));
    662660  }
     
    682680  if (!p)
    683681  {
    684     dprintf(("KERNEL32: HEAP_realloc(%08xh,%08xh,%08xh,%08xh) out of memory.\n",
    685              heap,
    686              flags,
     682    dprintf(("KERNEL32: HEAP_realloc(%08xh,%08xh) out of memory.\n",
    687683             lpMem,
    688684             size));
  • trunk/src/kernel32/misc.cpp

    r433 r435  
    1 /* $Id: misc.cpp,v 1.4 1999-08-06 09:03:04 phaller Exp $ */
     1/* $Id: misc.cpp,v 1.5 1999-08-06 12:14:12 phaller Exp $ */
    22
    33/*
     
    246246int SYSTEM EXPORT WriteLog(char *tekst, ...)
    247247{
    248   USHORT  sel = RestoreOS2FS();
     248//  USHORT  sel = RestoreOS2FS();
    249249  va_list argptr;
    250250
     
    269269  }
    270270
    271   SetFS(sel);
     271//  SetFS(sel);
    272272  return 1;
    273273}
     
    275275int SYSTEM EXPORT WriteLogError(char *tekst, ...)
    276276{
    277   USHORT  sel = RestoreOS2FS();
     277//  USHORT  sel = RestoreOS2FS();
    278278  va_list argptr;
    279279
     
    285285    printf("\n");
    286286
    287   SetFS(sel);
     287//  SetFS(sel);
    288288  return 1;
    289289}
Note: See TracChangeset for help on using the changeset viewer.