Changeset 4877
- Timestamp:
- Aug 25, 2005, 1:42:07 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 7 edited
-
pslib.kdevelop (modified) (1 diff)
-
src/astro/psCoord.h (modified) (2 diffs)
-
src/psErrorText.h.in (modified) (1 diff)
-
src/sys/psMemory.c (modified) (8 diffs)
-
test/db/Makefile.am (modified) (1 diff)
-
test/imageops/verified/tst_psImagePixelManip.stderr (modified) (1 diff)
-
test/sys/tst_psMemory.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/pslib.kdevelop
r4600 r4877 49 49 <envvar value="1" name="WANT_AUTOMAKE_1_6" /> 50 50 </envvars> 51 <abortonerror>false</abortonerror> 52 <numberofjobs>2</numberofjobs> 53 <dontact>false</dontact> 54 <makebin/> 55 <prio>0</prio> 51 56 </make> 52 57 </kdevautoproject> -
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 } -
trunk/psLib/test/db/Makefile.am
r4547 r4877 17 17 EXTRA_DIST = verified 18 18 19 CLEANFILES = $(TESTS) $(check_DATA) 19 CLEANFILES = $(TESTS) $(check_DATA) 20 21 clean-local: 22 mysql test -e "drop table1" 2> /dev/null || \ 23 mysql test -e "drop table2" 2> /dev/null || \ 24 mysql test -e "drop table3" 2> /dev/null || \ 25 mysql test -e "drop table4" 2> /dev/null || \ 26 mysql test -e "drop table5" 2> /dev/null || \ 27 mysql test -e "drop table6" 2> /dev/null || \ 28 mysql test -e "drop table7" 2> /dev/null || \ 29 mysql test -e "drop table8" 2> /dev/null || \ 30 mysql test -e "drop table9" 2> /dev/null || \ 31 mysql test -e "drop table10" 2> /dev/null || \ 32 mysql test -e "drop table11" 2> /dev/null || \ 33 true 20 34 21 35 tests: $(check_DATA) $(TESTS) -
trunk/psLib/test/imageops/verified/tst_psImagePixelManip.stderr
r4547 r4877 27 27 <DATE><TIME>|<HOST>|I|testImageClip 28 28 Following should be an error (max<min) 29 <DATE><TIME>|<HOST>|E|psImageClip (FILE:LINENO) 30 Specified min value, 256, can not be greater than the specified max value, 128. 29 31 30 32 ---> TESTPOINT PASSED (psImage{psImageClip} | tst_psImagePixelManip.c) -
trunk/psLib/test/sys/tst_psMemory.c
r4547 r4877 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 7-13 02:47:01$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-08-25 23:42:07 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 491 491 void memProblemCallback( psMemBlock *ptr, const char *file, unsigned int lineno ) 492 492 { 493 psLogMsg( __func__, PS_LOG_INFO, "memory callback called for id %l ld(%s:%d).",493 psLogMsg( __func__, PS_LOG_INFO, "memory callback called for id %lu (%s:%d).", 494 494 ptr->id, file, lineno ); 495 495 problemCallbackCalled++; … … 499 499 psMemId memAllocCallback( const psMemBlock *ptr ) 500 500 { 501 psLogMsg( __func__, PS_LOG_INFO, "block %l ldwas (re)allocated", ptr->id );501 psLogMsg( __func__, PS_LOG_INFO, "block %lu was (re)allocated", ptr->id ); 502 502 allocCallbackCalled++; 503 503 return 1; … … 506 506 psMemId memFreeCallback( const psMemBlock *ptr ) 507 507 { 508 psLogMsg( __func__, PS_LOG_INFO, "block %l ldwas freed", ptr->id );508 psLogMsg( __func__, PS_LOG_INFO, "block %lu was freed", ptr->id ); 509 509 freeCallbackCalled++; 510 510 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.
