]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Changes to implement new taping.
authorhades <hades>
Sat, 20 May 2000 00:28:50 +0000 (00:28 +0000)
committerhades <hades>
Sat, 20 May 2000 00:28:50 +0000 (00:28 +0000)
hadaq/evtbuild.c

index 736a893cbd59e0bfdb384923b9470cc7e6ff1d73..79963f064c379f92fb566b3673f8bec411fe3503 100644 (file)
@@ -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 <unistd.h>
@@ -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));
                }
        }