Changeset 1826
- Timestamp:
- Sep 17, 2004, 9:23:24 AM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
sys/psMemory.c (modified) (2 diffs)
-
sysUtils/psMemory.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psMemory.c
r1821 r1826 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1. 39$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-09-1 6 23:51:07$10 * @version $Revision: 1.40 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-09-17 19:23:24 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 392 392 393 393 if (ptr == NULL) { 394 psAbort(__func__, "Failed to reallocate %ld bytes at %s:%d", size, file, lineno); 394 ptr = memExhaustedCallback(size); 395 if(ptr == NULL) { 396 psAbort(__func__, "Failed to reallocate %ld bytes at %s:%d", size, file, lineno); 397 } 395 398 } 396 399 -
trunk/psLib/src/sysUtils/psMemory.c
r1821 r1826 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1. 39$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-09-1 6 23:51:07$10 * @version $Revision: 1.40 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-09-17 19:23:24 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 392 392 393 393 if (ptr == NULL) { 394 psAbort(__func__, "Failed to reallocate %ld bytes at %s:%d", size, file, lineno); 394 ptr = memExhaustedCallback(size); 395 if(ptr == NULL) { 396 psAbort(__func__, "Failed to reallocate %ld bytes at %s:%d", size, file, lineno); 397 } 395 398 } 396 399
Note:
See TracChangeset
for help on using the changeset viewer.
