IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24432 for trunk/psLib/src/sys


Ignore:
Timestamp:
Jun 16, 2009, 12:27:45 PM (17 years ago)
Author:
Paul Price
Message:

Making messages more useful.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psAbort.c

    r17446 r24432  
    1010 *  @author Eric Van Alst, MHPCC
    1111 *  @author Joshua Hoblitt, University of Hawaii
    12  *   
     12 *
    1313 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    1414 *  @date $Date: 2008-04-13 08:18:27 $
     
    3434               ...)
    3535{
    36     psErrorStackPrint(stderr, "Aborting. Error stack:");
     36    psErrorStackPrint(stderr, "Aborting in function %s at %s:%d. Error stack:", func, file, lineno);
    3737
    3838    va_list argPtr;             // variable list arguement pointer
     
    5151
    5252void p_psAssert(const char *file,
    53                 unsigned int lineno,
    54                 const char *func,
    55                 const bool value,
    56                 const char *format,
    57                 ...)
     53                unsigned int lineno,
     54                const char *func,
     55                const bool value,
     56                const char *format,
     57                ...)
    5858{
    5959    if (value) return;
    60     psErrorStackPrint(stderr, "Aborting. Error stack:");
     60    psErrorStackPrint(stderr, "Assertion failed in function %s at %s:%d. Error stack:", func, file, lineno);
    6161
    6262    va_list argPtr;             // variable list arguement pointer
Note: See TracChangeset for help on using the changeset viewer.