Ignore:
Timestamp:
Sep 5, 2001, 2:14:25 PM (24 years ago)
Author:
bird
Message:

Added $Id:$ keyword.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/memory.c

    r4671 r6645  
     1/* $Id: memory.c,v 1.3 2001-09-05 12:14:25 bird Exp $ */
    12/*
    23 * CRTDLL memory functions
    3  * 
     4 *
    45 * Copyright 1996,1998 Marcus Meissner
    56 * Copyright 1996 Jukka Iivonen
     
    3233    VOID* result;
    3334    if(!(result = HeapAlloc(GetProcessHeap(),0,size)) && new_handler)
    34         (*new_handler)();
     35    (*new_handler)();
    3536    return result;
    3637}
     
    7980{
    8081  // return (_heapchk());
    81  
     82
    8283  if (!HeapValidate( GetProcessHeap(), 0, NULL))
    8384  {
     
    9798{
    9899  // return (_heapmin());
    99  
     100
    100101  if (!HeapCompact( GetProcessHeap(), 0 ))
    101102  {
     
    116117{
    117118  // return (_heapset(fill));
    118  
     119
    119120  INT retVal;
    120121  struct _heapinfo heap;
     
    144145  phe.wFlags = next->_useflag == _USEDENTRY ? PROCESS_HEAP_ENTRY_BUSY : 0;
    145146
    146   if (phe.lpData && phe.wFlags & PROCESS_HEAP_ENTRY_BUSY && 
     147  if (phe.lpData && phe.wFlags & PROCESS_HEAP_ENTRY_BUSY &&
    147148      !HeapValidate( GetProcessHeap(), 0, phe.lpData ))
    148149  {
     
    180181{
    181182  // return (_msize(ptr));
    182  
     183
    183184  LONG size = HeapSize(GetProcessHeap(),0,mem);
    184185  if (size == -1)
     
    215216/*********************************************************************
    216217 *                  malloc        (CRTDLL.424)
    217  * 
     218 *
    218219 * Alocate memory from the heap.
    219220 */
Note: See TracChangeset for help on using the changeset viewer.