Changeset 2867
- Timestamp:
- Jan 3, 2005, 1:35:07 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
sys/psConfigure.c (modified) (3 diffs)
-
sysUtils/psConfigure.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psConfigure.c
r2725 r2867 12 12 * @author Robert DeSonia, MHPCC 13 13 * 14 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $15 * @date $Date: 200 4-12-16 18:53:19$14 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-01-03 23:35:07 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 18 18 */ 19 #include "psString.h" 19 20 #include "psTime.h" 20 21 #include "psError.h" … … 22 23 #include "psSysUtilsErrors.h" 23 24 25 26 #ifndef PS_LIB_VERSION 27 #define PS_LIB_VERSION "psLib version unknown" 28 #pragma warning PS_LIB_VERSION was not defined in the makefile. 29 #endif 30 24 31 char* psLibVersion(void) 25 32 { 26 // P lease code me, Robert.27 return( "Version XXX");33 // PS_LIB_VERSION comes from Makefile.Globals 34 return(psStringCopy(PS_LIB_VERSION)); 28 35 } 29 36 … … 42 49 void psLibFinalize(void) 43 50 { 51 // Users of persistent memory should free them in this function 52 44 53 if(!p_psTimeFinalize()) { 45 54 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime"); -
trunk/psLib/src/sysUtils/psConfigure.c
r2725 r2867 12 12 * @author Robert DeSonia, MHPCC 13 13 * 14 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $15 * @date $Date: 200 4-12-16 18:53:19$14 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-01-03 23:35:07 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 18 18 */ 19 #include "psString.h" 19 20 #include "psTime.h" 20 21 #include "psError.h" … … 22 23 #include "psSysUtilsErrors.h" 23 24 25 26 #ifndef PS_LIB_VERSION 27 #define PS_LIB_VERSION "psLib version unknown" 28 #pragma warning PS_LIB_VERSION was not defined in the makefile. 29 #endif 30 24 31 char* psLibVersion(void) 25 32 { 26 // P lease code me, Robert.27 return( "Version XXX");33 // PS_LIB_VERSION comes from Makefile.Globals 34 return(psStringCopy(PS_LIB_VERSION)); 28 35 } 29 36 … … 42 49 void psLibFinalize(void) 43 50 { 51 // Users of persistent memory should free them in this function 52 44 53 if(!p_psTimeFinalize()) { 45 54 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime");
Note:
See TracChangeset
for help on using the changeset viewer.
