git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feature advertise
[users/heiko/exim.git]
/
test
/
src
/
cf.c
diff --git
a/test/src/cf.c
b/test/src/cf.c
index 1fce2e351e6ff03daa2ef674677a0692ee53ff74..2b982f10f5f639c1482e11ff4c0c61148dc6f545 100644
(file)
--- a/
test/src/cf.c
+++ b/
test/src/cf.c
@@
-41,6
+41,7
@@
Translated back into C, March 1990! */
#define version 8
#define defaultstore 100000 /* default recovery buffer size */
#define minstore 500 /* minimum recovery buffer size */
#define version 8
#define defaultstore 100000 /* default recovery buffer size */
#define minstore 500 /* minimum recovery buffer size */
+#define SHOWMAX 20 /* maximum number of diff lines to display */
/* ----- misc defines ----- */
/* ----- misc defines ----- */
@@
-258,11
+259,11
@@
else if (t1 < 0 && t2 < 0)
if (echo)
{
rule('-', 10);
if (echo)
{
rule('-', 10);
- if (-t1-s1 <
2
1) write_lines(rootline_one, tline_one);
- else fprintf(f_out, "... <more than
20 lines> ...\n"
);
+ if (-t1-s1 <
SHOWMAX+
1) write_lines(rootline_one, tline_one);
+ else fprintf(f_out, "... <more than
%d lines> ...\n", SHOWMAX
);
rule('-', 10);
rule('-', 10);
- if (-t2-s2 <
2
1) write_lines(rootline_two, tline_two);
- else fprintf(f_out, "... <more than
20 lines> ...\n"
);
+ if (-t2-s2 <
SHOWMAX+
1) write_lines(rootline_two, tline_two);
+ else fprintf(f_out, "... <more than
%d lines> ...\n", SHOWMAX
);
}
}
}
}