mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-11 13:30:02 -04:00
21 lines
735 B
Plaintext
21 lines
735 B
Plaintext
$NetBSD: patch-ag,v 1.2 2013/03/15 22:45:00 wiz Exp $
|
|
|
|
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.orig 2013-01-01 20:37:17.000000000 +0000
|
|
+++ src/term.c
|
|
@@ -3111,11 +3111,6 @@ use the Bourne shell command `TERM=... e
|
|
terminal_type);
|
|
}
|
|
|
|
-#ifndef TERMINFO
|
|
- if (strlen (tty->termcap_term_buffer) >= buffer_size)
|
|
- emacs_abort ();
|
|
- buffer_size = strlen (tty->termcap_term_buffer);
|
|
-#endif
|
|
tty->termcap_strings_buffer = area = xmalloc (buffer_size);
|
|
tty->TS_ins_line = tgetstr ("al", address);
|
|
tty->TS_ins_multi_lines = tgetstr ("AL", address);
|