Changeset 4877 for trunk/psLib/src
- Timestamp:
- Aug 25, 2005, 1:42:07 PM (21 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 3 edited
-
astro/psCoord.h (modified) (2 diffs)
-
psErrorText.h.in (modified) (1 diff)
-
sys/psMemory.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.h
r4620 r4877 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 7-27 19:55:15$12 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-08-25 23:42:01 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 162 162 psCube* psCubeAlloc(void); 163 163 164 /** Allocates a psCube165 *166 * @return psCube* resulting cube structure.167 */168 psCube* psCubeAlloc(void);169 170 164 /** Allocates a psPlaneTransform transform. 171 165 * -
trunk/psLib/src/psErrorText.h.in
r4540 r4877 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 7-12 19:12:00$9 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-08-25 23:41:59 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 13 13 */ 14 15 /* !!! DO NOT EDIT psErrorText.h! Add error messages to the cooresponding .dat file !!! */ 14 16 15 17 #ifndef PS_ERROR_TEXT_H -
trunk/psLib/src/sys/psMemory.c
r4589 r4877 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1.6 0$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 7-21 01:40:10$10 * @version $Revision: 1.61 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-08-25 23:42:07 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 109 109 psError(PS_ERR_MEMORY_CORRUPTION, false, 110 110 PS_ERRORTEXT_psMemory_MULTIPLE_FREE, 111 ptr->id, ptr->file, ptr->lineno, file, lineno);111 (unsigned long)ptr->id, ptr->file, ptr->lineno, file, lineno); 112 112 } 113 113 … … 138 138 psError(PS_ERR_MEMORY_CORRUPTION, true, 139 139 PS_ERRORTEXT_psMemory_DEREF_BLOCK_USE, 140 m->id);140 (unsigned long)m->id); 141 141 return 1; 142 142 } … … 145 145 psError(PS_ERR_MEMORY_CORRUPTION, true, 146 146 PS_ERRORTEXT_psMemory_UNDERFLOW, 147 m->id);147 (unsigned long)m->id); 148 148 return 1; 149 149 } … … 151 151 psError(PS_ERR_MEMORY_CORRUPTION, true, 152 152 PS_ERRORTEXT_psMemory_OVERFLOW, 153 m->id);153 (unsigned long)m->id); 154 154 return 1; 155 155 } … … 390 390 if (checkMemBlock(ptr, __func__) != 0) { 391 391 memProblemCallback(ptr, file, lineno); 392 psAbort(file, "Realloc detected a memory corruption (id %l ld@ %s:%d).",393 ptr->id, ptr->file, ptr->lineno);392 psAbort(file, "Realloc detected a memory corruption (id %lu @ %s:%d).", 393 (unsigned long)ptr->id, ptr->file, ptr->lineno); 394 394 } 395 395 … … 444 444 445 445 psAbort(__func__,PS_ERRORTEXT_psMemory_MULTIPLE_FREE, 446 ptr->id, ptr->file, ptr->lineno, filename, lineno);446 (unsigned long)ptr->id, ptr->file, ptr->lineno, filename, lineno); 447 447 } 448 448 … … 481 481 } 482 482 483 fprintf(fd, " %20s:%-4d %l d\n", iter->file, (int)iter->lineno, (long)iter->id);483 fprintf(fd, " %20s:%-4d %lu\n", iter->file, (int)iter->lineno, (unsigned long)iter->id); 484 484 } 485 485 }
Note:
See TracChangeset
for help on using the changeset viewer.
