Changeset 23169 for trunk/psastro/src/psastroVersion.c
- Timestamp:
- Mar 3, 2009, 5:38:59 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroVersion.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroVersion.c
r23162 r23169 64 64 return true; 65 65 } 66 67 bool psastroVersionHeaderFull(psMetadata *header) 68 { 69 PS_ASSERT_METADATA_NON_NULL(header, false); 70 71 psTime *time = psTimeGetNow(PS_TIME_TAI); // The time now 72 psString timeString = psTimeToISO(time); // The time in an ISO string 73 psFree(time); 74 psString history = NULL; // History string 75 psStringAppend(&history, "psastro at %s", timeString); 76 psFree(timeString); 77 psMetadataAddStr(header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK, NULL, history); 78 psFree(history); 79 80 psLibVersionHeader(header); 81 psModulesVersionHeader(header); 82 psastroVersionHeader(header); 83 84 return true; 85 }
Note:
See TracChangeset
for help on using the changeset viewer.
