version 1.11, 2012/09/24 20:06:23
|
version 1.12, 2013/04/28 08:05:21
|
Line 25 based on jtsfiddle, but no detrending or |
|
Line 25 based on jtsfiddle, but no detrending or |
|
#define kNOTSPECIFIED "not specified" | #define kNOTSPECIFIED "not specified" |
| |
char *module_name = "jtsslice"; | char *module_name = "jtsslice"; |
|
char *cvsinfo_jtsslice = "cvsinfo: $Header$"; |
| |
/* Command line arguments: */ | /* Command line arguments: */ |
ModuleArgs_t module_args[] = | ModuleArgs_t module_args[] = |
|
|
DRMS_Link_t *histlink = hcon_lookup_lower(&tempoutrec->links, histlinkname); | DRMS_Link_t *histlink = hcon_lookup_lower(&tempoutrec->links, histlinkname); |
DRMS_Link_t *srclink = hcon_lookup_lower(&tempoutrec->links, srclinkname); | DRMS_Link_t *srclink = hcon_lookup_lower(&tempoutrec->links, srclinkname); |
| |
char *cvsinfo = strdup("$Header$"); |
// char *cvsinfo = strdup("$Header$"); |
if (histlink != NULL) | if (histlink != NULL) |
{ | { |
histrecnum=set_history(histlink, cvsinfo); |
histrecnum=set_history(histlink); |
if (histrecnum < 0) | if (histrecnum < 0) |
{ | { |
drms_close_record(tempoutrec, DRMS_FREE_RECORD); | drms_close_record(tempoutrec, DRMS_FREE_RECORD); |