IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 18, 2006, 5:26:33 AM (20 years ago)
Author:
rhl
Message:

Support passing NULL to psErrorStackPrint to mean stdout (useful from gdb)

File:
1 edited

Legend:

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

    r8905 r9623  
    1111 *  @author Eric Van Alst, MHPCC
    1212 *
    13  *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-09-23 02:49:11 $
     13 *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-10-18 15:26:33 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    247247void psErrorStackPrint(FILE *fd, const char *format, ...)
    248248{
     249    if (fd == NULL) {
     250        fd = stdout;
     251    }
     252
    249253    va_list ap;             // variable list arguement pointer
    250254
Note: See TracChangeset for help on using the changeset viewer.