IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 4, 2007, 12:34:06 PM (19 years ago)
Author:
jhoblitt
Message:

add HANDLE_BAD_BLOCK macro
replace all use of PS_MEM_ABORT_CORRUPT macro with HANDLE_BAD_BLOCK
remove PS_MEM_ABORT_CORRUPT macro
change badMemBlock() to accept an output parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tap_psMemory.c

    r10810 r10903  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2006-12-18 19:18:46 $
     8*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2007-01-04 22:34:06 $
    1010*
    1111*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6161    TPcheckLeaks();
    6262
     63    // psMemProblemCallbackSet() has been removed -JH
     64    #if 0
     65
    6366    void TPmemCorruption( void );
    6467    TPmemCorruption();
     68    #endif
    6569
    6670    void TPmultipleFree( void );
     
    225229    }
    226230
    227     psMemCheckCorruption( 1 );
     231    psMemCheckCorruption(stderr, false);
    228232
    229233    // realloc to 2x
     
    242246    ok(error==0, "Realloc preserve the contents with expanding buffer");
    243247
    244     psMemCheckCorruption( 1 );
     248    psMemCheckCorruption(stderr, false);
    245249
    246250    // realloc to 1/2 initial value.
     
    403407
    404408
     409#if 0
    405410void TPmemCorruption( void )
    406411{
     
    443448    skip_end();
    444449}
     450#endif
    445451
    446452
Note: See TracChangeset for help on using the changeset viewer.