IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 7, 2004, 2:15:16 PM (22 years ago)
Author:
desonia
Message:

changed error-text define names to indicate the file where used, not function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psMemory.c

    r1696 r1715  
    99*  @author Robert Lupton, Princeton University
    1010*
    11 *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-09-07 19:05:07 $
     11*  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2004-09-08 00:15:16 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    104104    if (ptr->refCounter < 1) {
    105105        psErrorMsg(ERRORNAME_PREFIX "memProblemCallbackDefault", false, PS_ERR_MEMORY_CORRUPTION,
    106                    PS_ERRORTEXT_memProblemCallbackDefault_MULTIPLE_FREE,
     106                   PS_ERRORTEXT_psMemory_MULTIPLE_FREE,
    107107                   ptr->id, ptr->file, ptr->lineno, file, lineno);
    108108    }
     
    232232    if (m == NULL) {
    233233        psErrorMsg(ERRORNAME_PREFIX "checkMemBlock", true, PS_ERR_MEMORY_CORRUPTION,
    234                    PS_ERRORTEXT_checkMemBlock_NULL_BLOCK);
     234                   PS_ERRORTEXT_psMemory_NULL_BLOCK);
    235235        return 1;
    236236    }
     
    239239        // using an unreferenced block of memory, are you?
    240240        psErrorMsg(ERRORNAME_PREFIX "checkMemBlock", true, PS_ERR_MEMORY_CORRUPTION,
    241                    PS_ERRORTEXT_checkMemBlock_DEREF_USE,
     241                   PS_ERRORTEXT_psMemory_DEREF_BLOCK_USE,
    242242                   m->id);
    243243        return 1;
     
    246246    if (m->startblock != P_PS_MEMMAGIC || m->endblock != P_PS_MEMMAGIC) {
    247247        psErrorMsg(ERRORNAME_PREFIX "checkMemBlock", true, PS_ERR_MEMORY_CORRUPTION,
    248                    PS_ERRORTEXT_checkMemBlock_UNDERFLOW,
     248                   PS_ERRORTEXT_psMemory_UNDERFLOW,
    249249                   m->id);
    250250        return 1;
     
    252252    if (*(void **)((int8_t *) (m + 1) + m->userMemorySize) != P_PS_MEMMAGIC) {
    253253        psErrorMsg(ERRORNAME_PREFIX "checkMemBlock", true, PS_ERR_MEMORY_CORRUPTION,
    254                    PS_ERRORTEXT_checkMemBlock_OVERFLOW,
     254                   PS_ERRORTEXT_psMemory_OVERFLOW,
    255255                   m->id);
    256256        return 1;
Note: See TracChangeset for help on using the changeset viewer.