* complete copyright information.
*/
-#include <h/mh.h>
+#include "h/mh.h"
+#include "sbr/getcpy.h"
+#include "sbr/error.h"
#include <fcntl.h>
-#include <h/fmt_scan.h>
-#include <h/tws.h>
-#include <h/utils.h>
+#include "h/fmt_scan.h"
+#include "h/tws.h"
+#include "h/utils.h"
#include "sbr/m_mktemp.h"
+#include "forwsbr.h"
/*
* Take from replsbr.c - a buffer big enough to read in data header lines
goto finished;
default:
- adios(NULL, "m_getfld2() returned %d", state);
+ die("m_getfld2() returned %d", state);
}
}
cp = m_mktemp2(NULL, invo_name, NULL, &tmp);
if (cp == NULL) {
- adios(NULL, "unable to create temporary file in %s", get_temp_dir());
+ die("unable to create temporary file in %s", get_temp_dir());
}
strncpy (tmpfil, cp, sizeof(tmpfil));
(void) m_unlink (tmpfil);