IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7866


Ignore:
Timestamp:
Jul 11, 2006, 4:54:01 PM (20 years ago)
Author:
Paul Price
Message:

When PS_NO_TRACE is set, psTraceGetLevel and psTraceGetDestination need to return values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psTrace.h

    r7571 r7866  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-06-15 00:22:54 $
     11 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-07-12 02:54:01 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4141    #   define p_psTrace(facil, level, ...) /* do nothing */
    4242    #   define psTraceSetLevel(facil,level) /* do nothing */
    43     #   define psTraceGetLevel(facil)       /* do nothing */
     43    #   define psTraceGetLevel(facil)       -INFINITY /* really really low level */
    4444    #   define psTraceReset()               /* do nothing */
    4545    #   define psTraceFree()                /* do nothing */
    4646    #   define psTracePrintLevels()         /* do nothing */
    4747    #   define psTraceSetDestination(fp)    /* do nothing */
    48     #   define psTraceGetDestination()      /* do nothing */
     48    #   define psTraceGetDestination()      2 /* destination is stderr */
    4949    #   define PS_TRACE_ON 0
    5050
Note: See TracChangeset for help on using the changeset viewer.