IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10284


Ignore:
Timestamp:
Nov 29, 2006, 10:24:19 AM (19 years ago)
Author:
Paul Price
Message:

Two copies reduced to one.

File:
1 edited

Legend:

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

    r9538 r10284  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2006-10-13 21:13:48 $
     15 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2006-11-29 20:24:19 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3636psString psLibVersion(void)
    3737{
    38     char version[80];
    39     snprintf(version,80,"%s-v%s",PACKAGE_NAME,PACKAGE_VERSION);
    40 
    41     return psStringCopy(version);
     38    psString version = NULL;
     39    psStringAppend(&version, "%s-v%s",PACKAGE_NAME,PACKAGE_VERSION);
     40    return version;
    4241}
    4342
Note: See TracChangeset for help on using the changeset viewer.