IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 24, 2007, 12:14:48 PM (19 years ago)
Author:
jhoblitt
Message:

merge jch-memory branch - overhaul of memory subsystem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psErrorCodes.c.in

    r8233 r11265  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-08-08 23:39:59 $
     9 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2007-01-24 22:14:48 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    118118    if (dynamicErrorCodes == NULL) {
    119119        dynamicErrorCodes = psListAlloc(NULL);
    120         p_psMemSetPersistent(dynamicErrorCodes,true);
     120        psMemSetPersistent(dynamicErrorCodes,true);
    121121
    122         p_psMemSetPersistent(dynamicErrorCodes->iterators,true);
    123         p_psMemSetPersistent(dynamicErrorCodes->iterators->data,true);
     122        psMemSetPersistent(dynamicErrorCodes->iterators,true);
     123        psMemSetPersistent(dynamicErrorCodes->iterators->data,true);
    124124        for (int i = 0; i < dynamicErrorCodes->iterators->n;i++) {
    125             p_psMemSetPersistent(dynamicErrorCodes->iterators->data[i],true);
     125            psMemSetPersistent(dynamicErrorCodes->iterators->data[i],true);
    126126        }
    127127    }
     
    130130        psErrorDescription* err = psErrorDescriptionAlloc(
    131131                                      errors[i].code, errors[i].description);
    132         p_psMemSetPersistent(err,true);
    133         p_psMemSetPersistent((psPtr)err->description,true);
     132        psMemSetPersistent(err,true);
     133        psMemSetPersistent((psPtr)err->description,true);
    134134        if (! psListAdd(dynamicErrorCodes,
    135135                        PS_LIST_HEAD,
     
    140140                    i);
    141141        }
    142         p_psMemSetPersistent(dynamicErrorCodes->head,true);
     142        psMemSetPersistent(dynamicErrorCodes->head,true);
    143143        psFree(err);
    144144    }
Note: See TracChangeset for help on using the changeset viewer.