diff options
author | roy <roy> | 2010-01-20 03:21:20 +0000 |
---|---|---|
committer | roy <roy> | 2010-01-20 03:21:20 +0000 |
commit | 66474ebf0b57c055e9e7d17e930871547c7b7921 (patch) | |
tree | 6a4859a194f3518d894a17e7d216d6421ee806d0 /editors/emacs22/patches | |
parent | cb260d0a32e505d7ca41a631667d81460ce08529 (diff) | |
download | pkgsrc-66474ebf0b57c055e9e7d17e930871547c7b7921.tar.gz |
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.
Diffstat (limited to 'editors/emacs22/patches')
-rw-r--r-- | editors/emacs22/patches/patch-ba | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/emacs22/patches/patch-ba b/editors/emacs22/patches/patch-ba new file mode 100644 index 00000000000..0c928bd4b6c --- /dev/null +++ b/editors/emacs22/patches/patch-ba @@ -0,0 +1,14 @@ +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:56:53.000000000 +0000 ++++ src/term.c 2010-01-14 21:57:25.000000000 +0000 +@@ -2400,7 +2400,6 @@ + #ifndef TERMINFO + if (strlen (buffer) >= buffer_size) + abort (); +- buffer_size = strlen (buffer); + #endif + area = (char *) xmalloc (buffer_size); + |