blob: cf3203bf1df6f7fec20d3146b0f844275217ef1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
When running terminfo but compiled for termcap, we cannot assume
that we actually have anything useable in termcap_term_buffer so just
use the terminfo fixed size defined ealier.
--- src/term.c 2010-01-14 21:25:59.000000000 +0000
+++ src/term.c 2010-01-14 21:26:27.000000000 +0000
@@ -1647,11 +1647,7 @@
terminal_type);
#endif
}
-#ifdef TERMINFO
area = (char *) xmalloc (2044);
-#else
- area = (char *) xmalloc (strlen (buffer));
-#endif /* not TERMINFO */
if (area == 0)
abort ();
|