git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make success expansion a per-transport option
[users/jgh/exim.git]
/
test
/
src
/
cf.c
diff --git
a/test/src/cf.c
b/test/src/cf.c
index 4dc3dc00fa0a4e9b701a2d9447f96b8750e0072c..1fce2e351e6ff03daa2ef674677a0692ee53ff74 100644
(file)
--- a/
test/src/cf.c
+++ b/
test/src/cf.c
@@
-1,5
+1,3
@@
-/* $Cambridge: exim/test/src/cf.c,v 1.1 2006/02/06 16:24:05 ph10 Exp $ */
-
/************************************************
* PH-Compare *
************************************************/
/************************************************
* PH-Compare *
************************************************/
@@
-31,6
+29,11
@@
Translated back into C, March 1990! */
#ifdef __STDC__
#include <string.h>
#include <stdlib.h>
#ifdef __STDC__
#include <string.h>
#include <stdlib.h>
+#include <stdint.h>
+#endif
+
+#ifndef intptr_t
+# define intptr_t long long int
#endif
/* ----- parameters ----- */
#endif
/* ----- parameters ----- */
@@
-354,7
+357,7
@@
if (lastline_one != NULL) lastline_one->next = nextline;
lastline_one = nextline;
pline_one = nextline;
lastline_one = nextline;
pline_one = nextline;
-bufnext_one = (char *) (((int
)bufnext_one+3) & (-4
));
+bufnext_one = (char *) (((int
ptr_t)bufnext_one+ sizeof (intptr_t) - 1) & (-(sizeof (intptr_t))
));
}
}
@@
-403,7
+406,7
@@
if (lastline_two != NULL) lastline_two->next = nextline;
lastline_two = nextline;
pline_two = nextline;
lastline_two = nextline;
pline_two = nextline;
-bufnext_two = (char *) (((int
)bufnext_two+3) & (-4
));
+bufnext_two = (char *) (((int
ptr_t)bufnext_two+ sizeof (intptr_t) - 1) & (-(sizeof (intptr_t))
));
}
}