IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 2, 2006, 11:33:34 AM (20 years ago)
Author:
Paul Price
Message:

Applying patches from RHL.

  • Correctly detect cfitsio 3 (ffdkopn)
  • Add PS_ERR_FITS_BAD
  • Free memory leaks caused by extra columns with FITS tables
  • Report error for singular matrices in LMM
  • Add psErrorCodeLast
  • Write psAbort errors, even if logging is off; flush the file descriptor
  • Useful macro: PS_FILE_LINE
  • Print a newline if the last character of a trace lacks one
  • When moving arguments down, set the vacated slot to NULL (so that original is valid)
  • If nFail is omitted, push an error if appropriate
File:
1 edited

Legend:

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

    r5072 r7300  
    1212 *  @author GLG, MHPCC
    1313 *
    14  *  @version $Revision: 1.52 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-09-20 02:43:53 $
     14 *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-06-02 21:33:34 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    310310        logDest = stderr;
    311311    }
     312    // If it's an abort, we always want to see the message
     313    if (logDest == NULL && level == PS_LOG_ABORT) {
     314        logDest = stderr;
     315    }
    312316    // If logging is off, or if the level is too high, return immediately.
    313317    if ((level > globalLogLevel) || (logDest == NULL)) {
     
    405409    } else {
    406410        fputc('\n', logDest);
     411    }
     412
     413    if (level == PS_LOG_ABORT) {
     414        fflush(logDest);
    407415    }
    408416}
Note: See TracChangeset for help on using the changeset viewer.