chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work around stupid sh versions which need 4<&4.
[adns.git]
/
regress
/
hrecord.c.m4
diff --git
a/regress/hrecord.c.m4
b/regress/hrecord.c.m4
index 1e98c82a5d7c26ae1b9bcc7c1ad4e69ef8ed4a14..cb40eae74ca77b34b52df2d2d027bc99a2dac313 100644
(file)
--- a/
regress/hrecord.c.m4
+++ b/
regress/hrecord.c.m4
@@
-3,10
+3,10
@@
m4_dnl (part of complex test harness, not of the library)
m4_dnl - recording routines
m4_dnl This file is
m4_dnl - recording routines
m4_dnl This file is
-m4_dnl Copyright (C) 1997-
1999
Ian Jackson <ian@davenant.greenend.org.uk>
+m4_dnl Copyright (C) 1997-
2000
Ian Jackson <ian@davenant.greenend.org.uk>
m4_dnl
m4_dnl It is part of adns, which is
m4_dnl
m4_dnl It is part of adns, which is
-m4_dnl Copyright (C) 1997-
1999
Ian Jackson <ian@davenant.greenend.org.uk>
+m4_dnl Copyright (C) 1997-
2000
Ian Jackson <ian@davenant.greenend.org.uk>
m4_dnl Copyright (C) 1999 Tony Finch <dot@dotat.at>
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl Copyright (C) 1999 Tony Finch <dot@dotat.at>
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
@@
-27,14
+27,20
@@
m4_include(hmacros.i4)
#include <assert.h>
#include <string.h>
#include <assert.h>
#include <string.h>
-#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
#include <errno.h>
#include <stdlib.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <fcntl.h>
+
#include "harness.h"
static FILE *Toutputfile;
#include "harness.h"
static FILE *Toutputfile;
+void Tshutdown(void) {
+}
+
static void R_recordtime(void) {
int r;
struct timeval tv, tvrel;
static void R_recordtime(void) {
int r;
struct timeval tv, tvrel;
@@
-148,4
+154,6
@@
int H$1(hm_args_massage($3,void)) {
}
')
}
')
+m4_define(`hm_specsyscall', `')
+
m4_include(`hsyscalls.i4')
m4_include(`hsyscalls.i4')