IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2006, 10:29:39 AM (20 years ago)
Author:
rhl
Message:

Make PS_FILE_LINE actually work

File:
1 edited

Legend:

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

    r7380 r7653  
    1313 *  @author David Robbins, MHPCC
    1414 *
    15  *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2006-06-07 03:22:06 $
     15 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2006-06-23 20:29:39 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    286286    return i;
    287287}
     288/*
     289 * Used by PS_FILE_LINE
     290 */
     291const char *p_psFileLine(const char *file, int line)
     292{
     293    static char msg[100];
     294    sprintf(msg, "%s:%d", file, line);
     295    return msg;
     296}
Note: See TracChangeset for help on using the changeset viewer.