From: hades Date: Sat, 20 May 2000 00:28:50 +0000 (+0000) Subject: Changes to implement new taping. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c5c06f906ed5594bbdd95e21486a63ad69547210;p=daqdata.git Changes to implement new taping. --- diff --git a/hadaq/evtbuild.c b/hadaq/evtbuild.c index 736a893..79963f0 100644 --- a/hadaq/evtbuild.c +++ b/hadaq/evtbuild.c @@ -1,4 +1,4 @@ -static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.12 2000-05-19 08:30:56 hades Exp $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.13 2000-05-20 00:28:50 hades Exp $"; #define _XOPEN_SOURCE #include @@ -20,6 +20,7 @@ static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/had #include "evt.h" #include "subevt.h" #include "shmtrans.h" +#include "tape.h" static jmp_buf terminateJmp; @@ -68,6 +69,7 @@ static void *appendFile(void *my, const char *path) return my; } +#if 0 /* BUGBUG Tape handling needs complete new implementation */ static FILE *openTape(const char *outPath) { @@ -119,6 +121,7 @@ static FILE *openTape(const char *outPath) } return outFile; } +#endif static void usage(const char *progName) { @@ -373,7 +376,7 @@ int main(int argc, char *argv[]) msglog(LOG_ERR, "%s, %d: %s\n", __FILE__, __LINE__, strerror(errno)); exit(EXIT_FAILURE); } - } else if (-1 == fclose(outFile) { + } else if (-1 == fclose(outFile)) { msglog(LOG_NOTICE, "%s, line %d:\n", __FILE__, __LINE__, strerror(errno)); } }