Changeset 23195 for trunk/ppImage/src
- Timestamp:
- Mar 5, 2009, 11:07:57 AM (17 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImage.c
r19928 r23195 21 21 exit(PS_EXIT_CONFIG_ERROR); 22 22 } 23 24 ppImageVersionPrint(); 23 25 24 26 // define recipe options -
trunk/ppImage/src/ppImage.h
r23164 r23195 218 218 ); 219 219 220 /// Print version information 221 void ppImageVersionPrint(void); 222 220 223 221 224 // calculate stats, including MD5 -
trunk/ppImage/src/ppImageVersion.c
r23165 r23195 74 74 return true; 75 75 } 76 77 78 void ppImageVersionPrint(void) 79 { 80 psTime *time = psTimeGetNow(PS_TIME_TAI); // The time now 81 psString timeString = psTimeToISO(time); // The time in an ISO string 82 psFree(time); 83 psLogMsg("ppImage", PS_LOG_INFO, "ppImage at %s", timeString); 84 psFree(timeString); 85 86 psString pslib = psLibVersionLong();// psLib version 87 psString psmodules = psModulesVersionLong(); // psModules version 88 psString psphot = psphotVersionLong(); // psphot version 89 psString psastro = psastroVersionLong(); // psastro version 90 psString ppStats = ppStatsVersionLong(); // ppStats version 91 psString ppImage = ppImageVersionLong(); // ppImage version 92 93 psLogMsg("ppImage", PS_LOG_INFO, "%s", pslib); 94 psLogMsg("ppImage", PS_LOG_INFO, "%s", psmodules); 95 psLogMsg("ppImage", PS_LOG_INFO, "%s", psphot); 96 psLogMsg("ppImage", PS_LOG_INFO, "%s", psastro); 97 psLogMsg("ppImage", PS_LOG_INFO, "%s", ppStats); 98 psLogMsg("ppImage", PS_LOG_INFO, "%s", ppImage); 99 100 psFree(pslib); 101 psFree(psmodules); 102 psFree(psphot); 103 psFree(psastro); 104 psFree(ppStats); 105 psFree(ppImage); 106 107 return; 108 }
Note:
See TracChangeset
for help on using the changeset viewer.
