Changeset 11274
- Timestamp:
- Jan 24, 2007, 12:59:53 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
psastro/src/psastroErrorCodes.c.in (modified) (1 diff)
-
psphot/src/psphotCleanup.c (modified) (2 diffs)
-
psphot/src/psphotErrorCodes.c.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroErrorCodes.c.in
r9575 r11274 18 18 for (int i = 0; i < nerror; i++) { 19 19 psErrorDescription *tmp = psAlloc(sizeof(psErrorDescription)); 20 p_psMemSetPersistent(tmp, true);21 20 *tmp = errors[i]; 22 21 psErrorRegister(tmp, 1); -
trunk/psphot/src/psphotCleanup.c
r11263 r11274 6 6 7 7 psTimerStop (); 8 psMemCheckCorruption ( true);8 psMemCheckCorruption (stderr, true); 9 9 pmModelGroupCleanup (); 10 10 psTimeFinalize (); … … 21 21 switch (err) { 22 22 case PSPHOT_ERR_SYS: 23 return PS_EXIT_SYS_ERROR;23 return PS_EXIT_SYS_ERROR; 24 24 case PSPHOT_ERR_CONFIG: 25 return PS_EXIT_CONFIG_ERROR;25 return PS_EXIT_CONFIG_ERROR; 26 26 case PSPHOT_ERR_PROG: 27 return PS_EXIT_PROG_ERROR;27 return PS_EXIT_PROG_ERROR; 28 28 case PSPHOT_ERR_DATA: 29 return PS_EXIT_DATA_ERROR;29 return PS_EXIT_DATA_ERROR; 30 30 default: 31 return PS_EXIT_UNKNOWN_ERROR;32 } 31 return PS_EXIT_UNKNOWN_ERROR; 32 } 33 33 return PS_EXIT_UNKNOWN_ERROR; 34 34 } -
trunk/psphot/src/psphotErrorCodes.c.in
r7504 r11274 18 18 for (int i = 0; i < nerror; i++) { 19 19 psErrorDescription *tmp = psAlloc(sizeof(psErrorDescription)); 20 p_psMemSetPersistent(tmp, true);21 20 *tmp = errors[i]; 22 21 psErrorRegister(tmp, 1);
Note:
See TracChangeset
for help on using the changeset viewer.
